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:
Родитель
21130dab4f
Коммит
1a7bba1975
|
@ -45,8 +45,10 @@ Accept: */*
|
|||
</protocol>
|
||||
<stripfile>
|
||||
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/test1400.c">
|
||||
/********* Sample code generated by the curl command line tool **********
|
||||
|
|
|
@ -50,8 +50,10 @@ 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 **********
|
||||
|
|
|
@ -51,8 +51,10 @@ foo=bar&baz=quux
|
|||
<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/test1402.c">
|
||||
/********* Sample code generated by the curl command line tool **********
|
||||
|
|
|
@ -48,8 +48,10 @@ Accept: */*
|
|||
<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 **********
|
||||
|
|
|
@ -83,8 +83,10 @@ dummy data
|
|||
<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/test1404.c">
|
||||
/********* Sample code generated by the curl command line tool **********
|
||||
|
|
|
@ -126,8 +126,10 @@ int main(int argc, char *argv[])
|
|||
<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>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
@ -112,8 +112,10 @@ int main(int argc, char *argv[])
|
|||
<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>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
@ -90,8 +90,10 @@ int main(int argc, char *argv[])
|
|||
<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>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
Загрузка…
Ссылка в новой задаче