diff options
author | Yang Tse <yangsita@gmail.com> | 2007-03-03 02:06:44 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-03-03 02:06:44 +0000 |
commit | bfd6474f6b13d6aa276c1d76fb435815db2482c9 (patch) | |
tree | f86a3a8313c4f0ee93ffeb6e77692f1823c11894 /tests/data | |
parent | d3b89e114a3eccd619c4a069223e5fc9a4488904 (diff) |
stricter newline policy
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test278 | 82 | ||||
-rw-r--r-- | tests/data/test279 | 82 |
2 files changed, 82 insertions, 82 deletions
diff --git a/tests/data/test278 b/tests/data/test278 index 5b24df82c..411cc6318 100644 --- a/tests/data/test278 +++ b/tests/data/test278 @@ -1,43 +1,43 @@ <testcase> -<info>
-<keywords>
-HTTP
-HTTP GET
-HTTP proxy
-HTTP proxy Basic auth
-</keywords>
-</info>
-# Server-side
-<reply>
-<data>
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Type: text/html
-Content-Length: 27
-
-the content would go here
-</data>
-</reply>
-
-# Client-side
-<client>
-<server>
-http
-</server>
- <name>
-HTTP with proxy string including http:// and user+empty password
- </name>
- <command>
-http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
-</command>
-</client>
-
-# Verify data after the test has been "shot"
-<verify>
-<strip>
-^User-Agent:.*
-</strip>
-<protocol>
+<info> +<keywords> +HTTP +HTTP GET +HTTP proxy +HTTP proxy Basic auth +</keywords> +</info> +# Server-side +<reply> +<data> +HTTP/1.1 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Type: text/html +Content-Length: 27 + +the content would go here +</data> +</reply> + +# Client-side +<client> +<server> +http +</server> + <name> +HTTP with proxy string including http:// and user+empty password + </name> + <command> +http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> GET http://we.want.that.site.com/278 HTTP/1.1
Proxy-Authorization: Basic ZmFrZTo=
Host: we.want.that.site.com
@@ -45,6 +45,6 @@ Pragma: no-cache Accept: */*
Proxy-Connection: Keep-Alive
-</protocol>
-</verify>
+</protocol> +</verify> </testcase> diff --git a/tests/data/test279 b/tests/data/test279 index 150c767c8..1328a8c59 100644 --- a/tests/data/test279 +++ b/tests/data/test279 @@ -1,43 +1,43 @@ <testcase> -<info>
-<keywords>
-HTTP
-HTTP GET
-HTTP proxy
-HTTP proxy Basic auth
-</keywords>
-</info>
-# Server-side
-<reply>
-<data>
-HTTP/1.1 200 OK swsclose
-Date: Thu, 09 Nov 2010 14:49:00 GMT
-Content-Type: text/html
-Content-Length: 27
-
-the content would go here
-</data>
-</reply>
-
-# Client-side
-<client>
-<server>
-http
-</server>
- <name>
-HTTP with proxy string including http:// and user only
- </name>
- <command>
-http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
-</command>
-</client>
-
-# Verify data after the test has been "shot"
-<verify>
-<strip>
-^User-Agent:.*
-</strip>
-<protocol>
+<info> +<keywords> +HTTP +HTTP GET +HTTP proxy +HTTP proxy Basic auth +</keywords> +</info> +# Server-side +<reply> +<data> +HTTP/1.1 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Content-Type: text/html +Content-Length: 27 + +the content would go here +</data> +</reply> + +# Client-side +<client> +<server> +http +</server> + <name> +HTTP with proxy string including http:// and user only + </name> + <command> +http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +<strip> +^User-Agent:.* +</strip> +<protocol> GET http://we.want.that.site.com/279 HTTP/1.1
Proxy-Authorization: Basic ZmFrZUAxMjcuMC4wLjE6ODk5MA0=
Host: we.want.that.site.com
@@ -45,6 +45,6 @@ Pragma: no-cache Accept: */*
Proxy-Connection: Keep-Alive
-</protocol>
-</verify>
+</protocol> +</verify> </testcase> |