diff options
author | Daniel Stenberg <daniel@haxx.se> | 2012-02-23 23:13:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-02-23 23:16:58 +0100 |
commit | 1a7bba1975ba40df32bac2af26f4681da69c9d89 (patch) | |
tree | f290fdf0e97e9b8d98808a8846ed872292b8d62a /tests/data/test1403 | |
parent | 21130dab4f8266a6ec8aa48ed7aec37137493977 (diff) |
test: --libcurl fixes
The line endings broke when I saved the three recent patches (my fault,
not Colin's) to 'git am' them.
Adjusted the stripping of the test program for comparing to also exclude
the SSH key file name as that will differ and use a local path name.
Diffstat (limited to 'tests/data/test1403')
-rw-r--r-- | tests/data/test1403 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/data/test1403 b/tests/data/test1403 index c9bc3ad7d..6646e47aa 100644 --- a/tests/data/test1403 +++ b/tests/data/test1403 @@ -39,17 +39,19 @@ http://%HOSTIP:%HTTPPORT/we/want/1403 --libcurl log/test1403.c -G -d "foo=bar" - ^User-Agent:.* </strip> <protocol> -GET /we/want/1403?foo=bar&baz=quux HTTP/1.1 -User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4 -Host: %HOSTIP:%HTTPPORT -Accept: */* - +GET /we/want/1403?foo=bar&baz=quux HTTP/1.1
+User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
</protocol> <stripfile> # curl's default user-agent varies with version, libraries etc. s/(USERAGENT, \")[^\"]+/${1}stripped/ -# CURLOPT_SSL_VERIFYPEER varies with configuration - just ignore it +# CURLOPT_SSL_VERIFYPEER and SSH_KNOWNHOSTS vary with configurations - just +# ignore them $_ = '' if /CURLOPT_SSL_VERIFYPEER/ +$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/ </stripfile> <file name="log/test1403.c"> /********* Sample code generated by the curl command line tool ********** |