diff --git a/tests/fulltest.sh b/tests/fulltest.sh index 0674469..40fdcdd 100755 --- a/tests/fulltest.sh +++ b/tests/fulltest.sh @@ -34,12 +34,12 @@ fi ping -c 1 sptest.example.edu &>/dev/null if [ $? -ne '0' ]; then echo "adding hosts record for sp..." - sudo echo "127.0.0.1 sptest.example.edu" >> /etc/hosts + echo '127.0.0.1 sptest.example.edu' | sudo tee -a /etc/hosts fi ping -c 1 idp.example.edu &>/dev/null if [ $? -ne '0' ]; then echo "adding hosts record for idp..." - sudo echo "127.0.0.1 idp.example.edu" >> /etc/hosts + echo '127.0.0.1 idp.example.edu' | sudo tee -a /etc/hosts fi echo "Attempting full-cycle test..."