Bring Curl Tests Back Online [Test 1 and 2]

This commit is contained in:
Mitchell Krog 2018-01-04 14:17:36 +02:00
parent 4d1d4826d2
commit 10be46edd0
2 changed files with 10 additions and 14 deletions

View file

@ -160,6 +160,7 @@ printf '%s%s\n\n' "Last Tested: " "$_now" >> "$_curltest8"
curl http://localhost:9000/index.php -e http://bing.com 2>&1 >> $_curltest8
if grep -i 'Welcome' $_curltest8; then
echo 'GOOD REFERRER DETECTED - TEST PASSED'
exit 0
else
echo 'GOOD REFERRER NOT DETECTED - TEST FAILED'
exit 1