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.
This commit is contained in:
@@ -39,19 +39,21 @@ http://%HOSTIP:%HTTPPORT/we/want/1401 --libcurl log/test1401.c --basic -u fake:u
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
GET /we/want/1401 HTTP/1.1
|
||||
User-Agent: stripped
|
||||
Authorization: Basic ZmFrZTp1c2Vy
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
Cookie: chocolate=chip
|
||||
X-Files: Mulder
|
||||
X-Men: cyclops, iceman
|
||||
|
||||
GET /we/want/1401 HTTP/1.1
|
||||
User-Agent: stripped
|
||||
Authorization: Basic ZmFrZTp1c2Vy
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
Accept: */*
|
||||
Cookie: chocolate=chip
|
||||
X-Files: Mulder
|
||||
X-Men: cyclops, iceman
|
||||
|
||||
</protocol>
|
||||
<stripfile>
|
||||
# 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/test1401.c">
|
||||
/********* Sample code generated by the curl command line tool **********
|
||||
|
||||
Reference in New Issue
Block a user