aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test11053
-rw-r--r--tests/data/test313
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/test1105 b/tests/data/test1105
index 1b2bf564a..922346ff0 100644
--- a/tests/data/test1105
+++ b/tests/data/test1105
@@ -34,6 +34,9 @@ HTTP with cookie parser and header recording
<command>
"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)}'
+</precheck>
</client>
# Verify data after the test has been "shot"
diff --git a/tests/data/test31 b/tests/data/test31
index ef05f7cd3..b1171d81d 100644
--- a/tests/data/test31
+++ b/tests/data/test31
@@ -72,6 +72,9 @@ TZ=GMT
<command>
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)}'
+</precheck>
</client>
# Verify data after the test has been "shot"