Skip to content

Commit

Permalink
full test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Oct 12, 2018
1 parent 460374b commit e31a4aa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/fulltest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ else
echo "webisoget already installed..."
fi

#ensure that name resolution is in place
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
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
fi

echo "Attempting full-cycle test..."
webisoget -verbose -out ./lastpage.txt -formfile ./sptest.login -url https://sptest.example.edu:8443/secure/

Expand Down

0 comments on commit e31a4aa

Please sign in to comment.