diff options
author | Bertrand SIMONNET <bsimonnet@google.com> | 2015-07-01 15:39:44 -0700 |
---|---|---|
committer | Bertrand SIMONNET <bsimonnet@google.com> | 2015-07-08 10:51:12 -0700 |
commit | e6cd738ed3716c02557fb3a47515244e949ade39 (patch) | |
tree | 8d093306c27b850f828317ed67d6efea3ec7e084 /tests/data/test1105 | |
parent | d43abe883892fe84137052fd27ecd956a2c7cacf (diff) | |
download | external_curl-e6cd738ed3716c02557fb3a47515244e949ade39.tar.gz external_curl-e6cd738ed3716c02557fb3a47515244e949ade39.tar.bz2 external_curl-e6cd738ed3716c02557fb3a47515244e949ade39.zip |
Import curl 7.43
This is a simple import of curl 7.43.
The only change from the official release is the fact that the
Android.mk was removed to avoid build error trying to parse it.
BUG: 22347561
Change-Id: I52ef6798d30b25d22d1f62770d571adec8bcf4d5
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> |