mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Use double quotes in command lines for consistency.
This commit is contained in:
parent
7ac7c119be
commit
0159636373
@ -28,7 +28,7 @@ http
|
|||||||
--write-out test
|
--write-out test
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<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>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ http
|
|||||||
multiple requests using {} in URL
|
multiple requests using {} in URL
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
'%HOSTIP:%HTTPPORT/{18,180002,180003}'
|
"%HOSTIP:%HTTPPORT/{18,180002,180003}"
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ http
|
|||||||
HTTP GET -w num_connects with one simple connect
|
HTTP GET -w num_connects with one simple connect
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/192 -w '%{num_connects}\n'
|
http://%HOSTIP:%HTTPPORT/192 -w "%{num_connects}\n"
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ http
|
|||||||
HTTP GET -w num_connects with redirected fetch (2 connects)
|
HTTP GET -w num_connects with redirected fetch (2 connects)
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/193 -w '%{num_connects}\n' -L
|
http://%HOSTIP:%HTTPPORT/193 -w "%{num_connects}\n" -L
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ http
|
|||||||
HTTP with -d, -G and {}
|
HTTP with -d, -G and {}
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/{199,199} -G
|
-d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{199,199}" -G
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ http
|
|||||||
HTTP URL with escaped { and }
|
HTTP URL with escaped { and }
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
'http://%HOSTIP:%HTTPPORT/\{\}\/214'
|
"http://%HOSTIP:%HTTPPORT/\{\}\/214"
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ http
|
|||||||
HTTP proxy CONNECT to proxy returning 405
|
HTTP proxy CONNECT to proxy returning 405
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<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>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ http
|
|||||||
get HTTP with URL > 10000 bytes
|
get HTTP with URL > 10000 bytes
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
%HOSTIP:%HTTPPORT/`perl -e 'print "a" x 10000;'`/22
|
%HOSTIP:%HTTPPORT/`perl -e "print \"a\" x 10000;"`/22
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ crypto
|
|||||||
HTTP POST multipart without Expect: header using proxy anyauth (Digest)
|
HTTP POST multipart without Expect: header using proxy anyauth (Digest)
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<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>
|
</command>
|
||||||
# We create this file before the command is invoked!
|
# We create this file before the command is invoked!
|
||||||
<file name="log/test258.txt">
|
<file name="log/test258.txt">
|
||||||
|
@ -27,7 +27,7 @@ http
|
|||||||
Get same cookie page several times
|
Get same cookie page several times
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
'http://%HOSTIP:%HTTPPORT/want/{27,27,27}' -b none
|
"http://%HOSTIP:%HTTPPORT/want/{27,27,27}" -b none
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ http
|
|||||||
HTTP RFC1867-type formposting without Expect: header
|
HTTP RFC1867-type formposting without Expect: header
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<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>
|
</command>
|
||||||
# We create this file before the command is invoked!
|
# We create this file before the command is invoked!
|
||||||
<file name="log/test44.txt">
|
<file name="log/test44.txt">
|
||||||
|
@ -25,7 +25,7 @@ http
|
|||||||
HTTP content-type with spaces in
|
HTTP content-type with spaces in
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
-w '%{content_type}\n' http://%HOSTIP:%HTTPPORT/57 -o log/out57
|
-w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/57 -o log/out57
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user