1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Use double quotes in command lines for consistency.

This commit is contained in:
Dan Fandrich 2007-09-18 20:41:20 +00:00
parent 7ac7c119be
commit 0159636373
12 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,7 @@ http
--write-out test
</name>
<command>
http://%HOSTIP:%HTTPPORT/want/15 --write-out '%{url_effective} %{http_code} %{size_download}\n'
http://%HOSTIP:%HTTPPORT/want/15 --write-out "%{url_effective} %{http_code} %{size_download}\n"
</command>
</client>

View File

@ -40,7 +40,7 @@ http
multiple requests using {} in URL
</name>
<command>
'%HOSTIP:%HTTPPORT/{18,180002,180003}'
"%HOSTIP:%HTTPPORT/{18,180002,180003}"
</command>
</client>

View File

@ -22,7 +22,7 @@ http
HTTP GET -w num_connects with one simple connect
</name>
<command>
http://%HOSTIP:%HTTPPORT/192 -w '%{num_connects}\n'
http://%HOSTIP:%HTTPPORT/192 -w "%{num_connects}\n"
</command>
</client>

View File

@ -32,7 +32,7 @@ http
HTTP GET -w num_connects with redirected fetch (2 connects)
</name>
<command>
http://%HOSTIP:%HTTPPORT/193 -w '%{num_connects}\n' -L
http://%HOSTIP:%HTTPPORT/193 -w "%{num_connects}\n" -L
</command>
</client>

View File

@ -28,7 +28,7 @@ http
HTTP with -d, -G and {}
</name>
<command>
-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/{199,199} -G
-d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{199,199}" -G
</command>
</client>

View File

@ -23,7 +23,7 @@ http
HTTP URL with escaped { and }
</name>
<command>
'http://%HOSTIP:%HTTPPORT/\{\}\/214'
"http://%HOSTIP:%HTTPPORT/\{\}\/214"
</command>
</client>

View File

@ -20,7 +20,7 @@ http
HTTP proxy CONNECT to proxy returning 405
</name>
<command>
http://test.remote.server.com:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w '%{http_code} %{http_connect}\n'
http://test.remote.server.com:217/path/2170002 --proxy http://%HOSTIP:%HTTPPORT --proxytunnel -w "%{http_code} %{http_connect}\n"
</command>
</client>

View File

@ -26,7 +26,7 @@ http
get HTTP with URL > 10000 bytes
</name>
<command>
%HOSTIP:%HTTPPORT/`perl -e 'print "a" x 10000;'`/22
%HOSTIP:%HTTPPORT/`perl -e "print \"a\" x 10000;"`/22
</command>
</client>

View File

@ -60,7 +60,7 @@ crypto
HTTP POST multipart without Expect: header using proxy anyauth (Digest)
</name>
<command>
-x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/258 -F name=daniel -F tool=curl -F file=@log/test258.txt -H 'Expect:' -U uuuser:pppassword --proxy-anyauth
-x http://%HOSTIP:%HTTPPORT http://remotehost:54321/we/want/258 -F name=daniel -F tool=curl -F file=@log/test258.txt -H "Expect:" -U uuuser:pppassword --proxy-anyauth
</command>
# We create this file before the command is invoked!
<file name="log/test258.txt">

View File

@ -27,7 +27,7 @@ http
Get same cookie page several times
</name>
<command>
'http://%HOSTIP:%HTTPPORT/want/{27,27,27}' -b none
"http://%HOSTIP:%HTTPPORT/want/{27,27,27}" -b none
</command>
</client>

View File

@ -27,7 +27,7 @@ http
HTTP RFC1867-type formposting without Expect: header
</name>
<command>
http://%HOSTIP:%HTTPPORT/we/want/44 -F name=daniel -F tool=curl -F file=@log/test44.txt -H 'Expect:'
http://%HOSTIP:%HTTPPORT/we/want/44 -F name=daniel -F tool=curl -F file=@log/test44.txt -H "Expect:"
</command>
# We create this file before the command is invoked!
<file name="log/test44.txt">

View File

@ -25,7 +25,7 @@ http
HTTP content-type with spaces in
</name>
<command>
-w '%{content_type}\n' http://%HOSTIP:%HTTPPORT/57 -o log/out57
-w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/57 -o log/out57
</command>
</client>