diff --git a/tests/fulltest.sh b/tests/fulltest.sh index 7e541a2..6b8902f 100755 --- a/tests/fulltest.sh +++ b/tests/fulltest.sh @@ -12,6 +12,17 @@ sleep 180 pushd tests &>/dev/null rm -f lastpage.txt +#ensure webisoget is installed +rpm -q webisoget &>/dev/null +if [ $? -ne '0' ]; then + curl -s -o webisoget-2.8.7-1.x86_64.rpm https://github.internet2.edu/docker/util/blob/master/bin/webisoget-2.8.7-1.x86_64.rpm + if [ -s webisoget-2.8.7-1.x86_64.rpm ]; then + rpm -ivh webisoget-2.8.7-1.x86_64.rpm + else + echo "can't get webisoget rpm..." + exit 1 +fi + echo "Attempting full-cycle test..." webisoget -verbose -out lastpage.txt -formfile sptest.login -url https://sptest.example.edu:8443/secure/ &>/dev/null