diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test1105 | 2 | ||||
-rw-r--r-- | tests/data/test31 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test1105 b/tests/data/test1105 index 76ac4500a..4b5e0c836 100644 --- a/tests/data/test1105 +++ b/tests/data/test1105 @@ -35,7 +35,7 @@ HTTP with cookie parser and header recording "http://%HOSTIP:%HTTPPORT/we/want/1105?parm1=this*that/other/thing&parm2=foobar/1105" -c log/cookie1105.txt -d "userid=myname&password=mypassword" </command> <precheck> -perl -e 'if ("%HOSTIP" !~ /127\.0\.0\.1$/) {print "Test only works for HOSTIP 127.0.0.1"; exit(1)}' +perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" </precheck> </client> diff --git a/tests/data/test31 b/tests/data/test31 index 2289d56d7..54e360a46 100644 --- a/tests/data/test31 +++ b/tests/data/test31 @@ -80,7 +80,7 @@ TZ=GMT http://%HOSTIP:%HTTPPORT/we/want/31 -b none -c log/jar31.txt </command> <precheck> -perl -e 'if ("%HOSTIP" !~ /127\.0\.0\.1$/) {print "Test only works for HOSTIP 127.0.0.1"; exit(1)}' +perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" </precheck> </client> |