Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Oct 12, 2018
1 parent 407493a commit 460374b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/fulltest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "Waiting 3 minutes while everything comes up..."
sleep 180

pushd tests &>/dev/null
rm -f lastpage.txt
rm -f ./lastpage.txt

#ensure webisoget is installed
echo "ensuring that webisoget is installed..."
Expand All @@ -31,9 +31,9 @@ else
fi

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

if [ -s lastpage.txt ]; then
if [ -s ./lastpage.txt ]; then
cat lastpage.txt | grep kwhite@example.edu &>/dev/null
if [ $? == "0" ]; then
echo "The full-cycle test of the IdP and SP was successfull!"
Expand Down

0 comments on commit 460374b

Please sign in to comment.