From 81a3246a569b3f20345d52dab8d9c94da1ffd890 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 29 Nov 2004 12:01:07 +0000 Subject: stricter newline policy --- tests/data/test130 | 18 +++++++++--------- tests/data/test131 | 18 +++++++++--------- tests/data/test132 | 18 +++++++++--------- tests/data/test133 | 18 +++++++++--------- tests/data/test134 | 18 +++++++++--------- tests/data/test139 | 2 +- tests/data/test141 | 2 +- tests/data/test155 | 4 ++-- tests/data/test16 | 2 +- tests/data/test162 | 2 +- tests/data/test169 | 42 +++++++++++++++++++++--------------------- tests/data/test212 | 2 +- tests/data/test32 | 12 ++++++------ tests/data/test48 | 10 +++++----- tests/data/test503 | 4 ++-- tests/data/test509 | 10 +++++----- tests/data/test510 | 8 ++++---- tests/data/test63 | 2 +- tests/data/test64 | 2 +- tests/data/test80 | 4 ++-- tests/data/test83 | 4 ++-- tests/data/test88 | 2 +- tests/data/test95 | 4 ++-- tests/data/test97 | 6 +++--- tests/data/test98 | 2 +- 25 files changed, 108 insertions(+), 108 deletions(-) diff --git a/tests/data/test130 b/tests/data/test130 index 90cd4f753..5693f07b0 100644 --- a/tests/data/test130 +++ b/tests/data/test130 @@ -2,17 +2,17 @@ # Server-side -total 20 +total 20 drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. -drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT --r--r--r-- 1 0 1 35 Jul 16 1996 README -lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin -dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev -drwxrwxrwx 2 98 98 512 May 29 16:04 download.html -dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc -drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub -dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr +drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT +-r--r--r-- 1 0 1 35 Jul 16 1996 README +lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin +dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev +drwxrwxrwx 2 98 98 512 May 29 16:04 download.html +dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc +drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub +dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr diff --git a/tests/data/test131 b/tests/data/test131 index 84d3fcce8..6501b8de6 100644 --- a/tests/data/test131 +++ b/tests/data/test131 @@ -2,17 +2,17 @@ # Server-side -total 20 +total 20 drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. -drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT --r--r--r-- 1 0 1 35 Jul 16 1996 README -lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin -dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev -drwxrwxrwx 2 98 98 512 May 29 16:04 download.html -dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc -drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub -dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr +drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT +-r--r--r-- 1 0 1 35 Jul 16 1996 README +lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin +dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev +drwxrwxrwx 2 98 98 512 May 29 16:04 download.html +dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc +drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub +dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr diff --git a/tests/data/test132 b/tests/data/test132 index d3c2711dc..09655701d 100644 --- a/tests/data/test132 +++ b/tests/data/test132 @@ -2,17 +2,17 @@ # Server-side -total 20 +total 20 drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. -drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT --r--r--r-- 1 0 1 35 Jul 16 1996 README -lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin -dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev -drwxrwxrwx 2 98 98 512 May 29 16:04 download.html -dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc -drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub -dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr +drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT +-r--r--r-- 1 0 1 35 Jul 16 1996 README +lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin +dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev +drwxrwxrwx 2 98 98 512 May 29 16:04 download.html +dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc +drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub +dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr diff --git a/tests/data/test133 b/tests/data/test133 index d2dad20c7..6fda5cd43 100644 --- a/tests/data/test133 +++ b/tests/data/test133 @@ -2,17 +2,17 @@ # Server-side -total 20 +total 20 drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. -drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT --r--r--r-- 1 0 1 35 Jul 16 1996 README -lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin -dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev -drwxrwxrwx 2 98 98 512 May 29 16:04 download.html -dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc -drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub -dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr +drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT +-r--r--r-- 1 0 1 35 Jul 16 1996 README +lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin +dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev +drwxrwxrwx 2 98 98 512 May 29 16:04 download.html +dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc +drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub +dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr diff --git a/tests/data/test134 b/tests/data/test134 index 949ef4257..1a2567304 100644 --- a/tests/data/test134 +++ b/tests/data/test134 @@ -2,17 +2,17 @@ # Server-side -total 20 +total 20 drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. -drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT --r--r--r-- 1 0 1 35 Jul 16 1996 README -lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin -dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev -drwxrwxrwx 2 98 98 512 May 29 16:04 download.html -dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc -drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub -dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr +drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT +-r--r--r-- 1 0 1 35 Jul 16 1996 README +lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin +dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev +drwxrwxrwx 2 98 98 512 May 29 16:04 download.html +dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc +drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub +dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr diff --git a/tests/data/test139 b/tests/data/test139 index 95fc7958c..5990e7418 100644 --- a/tests/data/test139 +++ b/tests/data/test139 @@ -28,7 +28,7 @@ USER anonymous PASS curl_by_daniel@haxx.se PWD CWD blalbla -MDTM 139 +MDTM 139 EPSV TYPE I SIZE 139 diff --git a/tests/data/test141 b/tests/data/test141 index f47de51de..bbec45a19 100644 --- a/tests/data/test141 +++ b/tests/data/test141 @@ -34,6 +34,6 @@ REST 0 QUIT -Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT +Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT diff --git a/tests/data/test155 b/tests/data/test155 index 55a965e49..b72f5f043 100644 --- a/tests/data/test155 +++ b/tests/data/test155 @@ -55,8 +55,8 @@ WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4Ab HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose Server: Microsoft-IIS/5.0 Content-Type: text/html; charset=iso-8859-1 - -Finally, this is the real page! + +Finally, this is the real page! diff --git a/tests/data/test16 b/tests/data/test16 index 2bdd46e60..a6c7d51f0 100644 --- a/tests/data/test16 +++ b/tests/data/test16 @@ -32,7 +32,7 @@ HTTP with proxy athorization GET http://we.want.that.site.com/16 HTTP/1.1 -Proxy-Authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw== +Proxy-Authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw== Host: we.want.that.site.com Pragma: no-cache Accept: */* diff --git a/tests/data/test162 b/tests/data/test162 index d30804ac5..a8d55f326 100644 --- a/tests/data/test162 +++ b/tests/data/test162 @@ -36,7 +36,7 @@ http://%HOSTIP:%HTTPPORT/162 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:b GET http://127.0.0.1:%HTTPPORT/162 HTTP/1.1 -Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= +Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled) Host: 127.0.0.1:%HTTPPORT Pragma: no-cache diff --git a/tests/data/test169 b/tests/data/test169 index f0c0ccea7..ee3ce8c06 100644 --- a/tests/data/test169 +++ b/tests/data/test169 @@ -82,26 +82,26 @@ http://data.from.server.requiring.digest.hohoho.com/169 --proxy http://%HOSTIP:% ^User-Agent: curl/.* -GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 -Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= -User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 -Host: data.from.server.requiring.digest.hohoho.com -Pragma: no-cache -Accept: */* - -GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 -Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEMAAAAYABgAWwAAAAAAAABAAAAAAwADAEAAAAAAAAAAQwAAAAAAAABzAAAAAYIAAGZvb4P6B+XVQ6vQsx3DfDXUVhd9436GAxPu0IYcl2Z7LxHmNeOAWQ+vxUmhuCFJBUgXCQ== -User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 -Host: data.from.server.requiring.digest.hohoho.com -Pragma: no-cache -Accept: */* - -GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 -Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6" -User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 -Host: data.from.server.requiring.digest.hohoho.com -Pragma: no-cache -Accept: */* - +GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 +Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= +User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 +Host: data.from.server.requiring.digest.hohoho.com +Pragma: no-cache +Accept: */* + +GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 +Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEMAAAAYABgAWwAAAAAAAABAAAAAAwADAEAAAAAAAAAAQwAAAAAAAABzAAAAAYIAAGZvb4P6B+XVQ6vQsx3DfDXUVhd9436GAxPu0IYcl2Z7LxHmNeOAWQ+vxUmhuCFJBUgXCQ== +User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 +Host: data.from.server.requiring.digest.hohoho.com +Pragma: no-cache +Accept: */* + +GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 +Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6" +User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 +Host: data.from.server.requiring.digest.hohoho.com +Pragma: no-cache +Accept: */* + diff --git a/tests/data/test212 b/tests/data/test212 index cae7baff6..9f51515c6 100644 --- a/tests/data/test212 +++ b/tests/data/test212 @@ -48,7 +48,7 @@ PORT stripped TYPE I SIZE 212 RETR 212 -PORT stripped +PORT stripped TYPE I SIZE 212 RETR 212 diff --git a/tests/data/test32 b/tests/data/test32 index 956a1e4ff..72664a1c0 100644 --- a/tests/data/test32 +++ b/tests/data/test32 @@ -38,11 +38,11 @@ HTTP with -d and -G ^User-Agent:.* -GET /32?foo=moo&moo=poo HTTP/1.1 -User-Agent: curl/7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5-cvs (OpenSSL 0.9.5) (ipv6 enabled) -Host: 127.0.0.1:%HTTPPORT -Pragma: no-cache -Accept: */* - +GET /32?foo=moo&moo=poo HTTP/1.1 +User-Agent: curl/7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5-cvs (OpenSSL 0.9.5) (ipv6 enabled) +Host: 127.0.0.1:%HTTPPORT +Pragma: no-cache +Accept: */* + diff --git a/tests/data/test48 b/tests/data/test48 index 1cd3c728a..5e492bb8d 100644 --- a/tests/data/test48 +++ b/tests/data/test48 @@ -30,10 +30,10 @@ HTTP with -d and -G and -I ^User-Agent:.* -HEAD /48?foo=moo&moo=poo HTTP/1.1 -Host: 127.0.0.1:%HTTPPORT -Pragma: no-cache -Accept: */* - +HEAD /48?foo=moo&moo=poo HTTP/1.1 +Host: 127.0.0.1:%HTTPPORT +Pragma: no-cache +Accept: */* + diff --git a/tests/data/test503 b/tests/data/test503 index 2189054e9..834cfb147 100644 --- a/tests/data/test503 +++ b/tests/data/test503 @@ -9,8 +9,8 @@ ETag: "21025-dc7-39462498" -HTTP/1.1 200 Mighty fine indeed - +HTTP/1.1 200 Mighty fine indeed + HTTP/1.1 200 OK swsclose Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake diff --git a/tests/data/test509 b/tests/data/test509 index 06f3aab4b..b179a9ddf 100644 --- a/tests/data/test509 +++ b/tests/data/test509 @@ -41,10 +41,10 @@ https://127.0.0.1:%HTTPSPORT/dvcs %HTTPSPORT ^User-Agent:.* -GET /509 HTTP/1.1 -Host: 127.0.0.1:%HTTPSPORT -Pragma: no-cache -Accept: */* - +GET /509 HTTP/1.1 +Host: 127.0.0.1:%HTTPSPORT +Pragma: no-cache +Accept: */* + diff --git a/tests/data/test510 b/tests/data/test510 index e1885c019..a82452a89 100644 --- a/tests/data/test510 +++ b/tests/data/test510 @@ -42,13 +42,13 @@ Transfer-Encoding: chunked Content-Type: application/x-www-form-urlencoded 3 -one +one 3 -two +two 5 -three +three 1d -and a final longer crap: four +and a final longer crap: four 0 diff --git a/tests/data/test63 b/tests/data/test63 index 1ac0591ad..0c2a78b2b 100644 --- a/tests/data/test63 +++ b/tests/data/test63 @@ -32,7 +32,7 @@ http://we.want.that.site.com/63 GET http://we.want.that.site.com/63 HTTP/1.1 -Proxy-Authorization: Basic ZmFrZTp1c2Vy +Proxy-Authorization: Basic ZmFrZTp1c2Vy Host: we.want.that.site.com Pragma: no-cache Accept: */* diff --git a/tests/data/test64 b/tests/data/test64 index 945514cb6..87acbb682 100644 --- a/tests/data/test64 +++ b/tests/data/test64 @@ -29,7 +29,7 @@ HTTP/1.1 200 OK swsclose Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Content-Type: text/html; charset=iso-8859-1 -This IS the real page! +This IS the real page! diff --git a/tests/data/test80 b/tests/data/test80 index 12f68e39e..0f274b252 100644 --- a/tests/data/test80 +++ b/tests/data/test80 @@ -11,8 +11,8 @@ Funny-head: yesyes contents -HTTP/1.1 200 Mighty fine indeed - +HTTP/1.1 200 Mighty fine indeed + HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose diff --git a/tests/data/test83 b/tests/data/test83 index 9a5f9f0ea..88b52d3f5 100644 --- a/tests/data/test83 +++ b/tests/data/test83 @@ -11,8 +11,8 @@ Funny-head: yesyes contents -HTTP/1.1 200 Mighty fine indeed - +HTTP/1.1 200 Mighty fine indeed + HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose diff --git a/tests/data/test88 b/tests/data/test88 index e6e2e4779..a3231e284 100644 --- a/tests/data/test88 +++ b/tests/data/test88 @@ -36,7 +36,7 @@ Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Content-Type: text/html; charset=iso-8859-1 Connection: close -This IS the real page! +This IS the real page! diff --git a/tests/data/test95 b/tests/data/test95 index fe5fdb820..22b4416be 100644 --- a/tests/data/test95 +++ b/tests/data/test95 @@ -11,8 +11,8 @@ Funny-head: yesyes contents -HTTP/1.1 200 Mighty fine indeed - +HTTP/1.1 200 Mighty fine indeed + HTTP/1.1 200 OK Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose diff --git a/tests/data/test97 b/tests/data/test97 index 715ebf747..e3673b984 100644 --- a/tests/data/test97 +++ b/tests/data/test97 @@ -36,9 +36,9 @@ POST /97 HTTP/1.1 Host: 127.0.0.1:%HTTPPORT Pragma: no-cache Accept: */* -Content-Type: silly/type -Content-Length: 14 - +Content-Type: silly/type +Content-Length: 14 + hejsanallabarn diff --git a/tests/data/test98 b/tests/data/test98 index aad64467d..e31a45d2c 100644 --- a/tests/data/test98 +++ b/tests/data/test98 @@ -41,7 +41,7 @@ Pragma: no-cache Accept: */* Content-Length: 14 Expect: 100-continue - + data on stdin -- cgit v1.2.3