diff options
Diffstat (limited to 'tests/data/test1105')
-rw-r--r-- | tests/data/test1105 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/data/test1105 b/tests/data/test1105 index 1a8f896a..95647753 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" @@ -50,14 +53,13 @@ Content-Type: application/x-www-form-urlencoded userid=myname&password=mypassword </protocol> -<file name="log/cookie1105.txt"> +<file name="log/cookie1105.txt" mode="text"> # Netscape HTTP Cookie File -# http://curl.haxx.se/rfc/cookie_spec.html +# http://curl.haxx.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your own risk. 127.0.0.1 FALSE /we/want/ FALSE 0 foobar name -.127.0.0.1 TRUE "/silly/" FALSE 0 mismatch this -.0.0.1 TRUE / FALSE 0 partmatch present +127.0.0.1 FALSE "/silly/" FALSE 0 mismatch this </file> </verify> </testcase> |