^User-Agent:.*
</strip>
<protocol>
-GET /we/want/1400 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/1400 HTTP/1.1\r
+User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
+\r
</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 **********
^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\r
+User-Agent: stripped\r
+Authorization: Basic ZmFrZTp1c2Vy\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
+Cookie: chocolate=chip\r
+X-Files: Mulder\r
+X-Men: cyclops, iceman\r
+\r
</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 **********
^User-Agent:.*
</strip>
<protocol nonewline="yes">
-POST /we/want/1402 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: */*
-Content-Length: 16
-Content-Type: application/x-www-form-urlencoded
-
+POST /we/want/1402 HTTP/1.1\r
+User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
+Content-Length: 16\r
+Content-Type: application/x-www-form-urlencoded\r
+\r
foo=bar&baz=quux
</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/test1402.c">
/********* Sample code generated by the curl command line tool **********
^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\r
+User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
+\r
</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 **********
(^User-Agent:.*|-----+\w+)
</strip>
<protocol>
-POST /we/want/1404 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: */*
-Content-Length: 795
-Expect: 100-continue
-Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763
-
-------------------------------9ef8d6205763
-Content-Disposition: form-data; name="name"
-
-value
-------------------------------9ef8d6205763
-Content-Disposition: form-data; name="file"
-Content-Type: multipart/mixed; boundary=----------------------------aaaaaaaaaaaa
-
-Content-Disposition: attachment; filename="test1404.txt"
-Content-Type: text/plain
-
+POST /we/want/1404 HTTP/1.1\r
+User-Agent: curl/7.18.2 (i686-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.7a ipv6 zlib/1.1.4\r
+Host: %HOSTIP:%HTTPPORT\r
+Accept: */*\r
+Content-Length: 795\r
+Expect: 100-continue\r
+Content-Type: multipart/form-data; boundary=----------------------------9ef8d6205763\r
+\r
+------------------------------9ef8d6205763\r
+Content-Disposition: form-data; name="name"\r
+\r
+value\r
+------------------------------9ef8d6205763\r
+Content-Disposition: form-data; name="file"\r
+Content-Type: multipart/mixed; boundary=----------------------------aaaaaaaaaaaa\r
+\r
+Content-Disposition: attachment; filename="test1404.txt"\r
+Content-Type: text/plain\r
+\r
dummy data
-
-------------------------------9ef8d6205763
-Content-Disposition: attachment; filename="test1404.txt"
-Content-Type: magic/content
-
+\r
+------------------------------9ef8d6205763\r
+Content-Disposition: attachment; filename="test1404.txt"\r
+Content-Type: magic/content\r
+\r
dummy data
-
-------------------------------9ef8d6205763
-Content-Disposition: attachment; filename="test1404.txt"
-Content-Type: text/plain
-
+\r
+------------------------------9ef8d6205763\r
+Content-Disposition: attachment; filename="test1404.txt"\r
+Content-Type: text/plain\r
+\r
dummy data
-
-------------------------------aaaaaaaaaaaa--
-------------------------------9ef8d6205763--
+\r
+------------------------------aaaaaaaaaaaa--\r
+------------------------------9ef8d6205763--\r
</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/test1404.c">
/********* Sample code generated by the curl command line tool **********
# Verify data after the test has been "shot"
<verify>
<protocol>
-USER anonymous
-PASS ftp@example.com
-PWD
-NOOP 1
-FAIL
-EPSV
-PASV
-TYPE I
-NOOP 2
-FAIL HARD
-SIZE 1405
-RETR 1405
-NOOP 3
-QUIT
+USER anonymous\r
+PASS ftp@example.com\r
+PWD\r
+NOOP 1\r
+FAIL\r
+EPSV\r
+PASV\r
+TYPE I\r
+NOOP 2\r
+FAIL HARD\r
+SIZE 1405\r
+RETR 1405\r
+NOOP 3\r
+QUIT\r
</protocol>
<file name="log/test1405.c">
/********* Sample code generated by the curl command line tool **********
<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>
# Verify data after the test has been "shot"
<verify>
<protocol>
-EHLO user
-MAIL FROM:<1406@from> SIZE=34
-RCPT TO:<1406@foo>
-RCPT TO:<1406@foobar.example>
-DATA
-QUIT
+EHLO user\r
+MAIL FROM:<1406@from> SIZE=34\r
+RCPT TO:<1406@foo>\r
+RCPT TO:<1406@foobar.example>\r
+DATA\r
+QUIT\r
</protocol>
<upload>
From: different
To: another
body
-
-.
+\r
+.\r
</upload>
<file name="log/test1406.c">
/********* Sample code generated by the curl command line tool **********
<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>
# Verify data after the test has been "shot"
<verify>
<protocol>
-USER user
-PASS secret
-LIST 1407
-QUIT
+USER user\r
+PASS secret\r
+LIST 1407\r
+QUIT\r
</protocol>
<file name="log/test1407.c">
/********* Sample code generated by the curl command line tool **********
<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>