From 85eeff3140b93e1616c2eaa8a8c897544eed2452 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Fri, 12 Oct 2018 08:00:46 -0400 Subject: [PATCH] full test fix --- tests/fulltest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..."