From: Dan Fandrich Date: Tue, 18 Sep 2007 20:41:20 +0000 (+0000) Subject: Use double quotes in command lines for consistency. X-Git-Tag: upstream/7.37.1~8692 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0159636373b5959e980824fd1933c79b18acedd8;p=platform%2Fupstream%2Fcurl.git Use double quotes in command lines for consistency. --- diff --git a/tests/data/test15 b/tests/data/test15 index e688734..6b101cd 100644 --- a/tests/data/test15 +++ b/tests/data/test15 @@ -28,7 +28,7 @@ http --write-out test -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" diff --git a/tests/data/test18 b/tests/data/test18 index 042164b..9da0bb7 100644 --- a/tests/data/test18 +++ b/tests/data/test18 @@ -40,7 +40,7 @@ http multiple requests using {} in URL -'%HOSTIP:%HTTPPORT/{18,180002,180003}' +"%HOSTIP:%HTTPPORT/{18,180002,180003}" diff --git a/tests/data/test192 b/tests/data/test192 index 391215a..bd03d2b 100644 --- a/tests/data/test192 +++ b/tests/data/test192 @@ -22,7 +22,7 @@ http HTTP GET -w num_connects with one simple connect -http://%HOSTIP:%HTTPPORT/192 -w '%{num_connects}\n' +http://%HOSTIP:%HTTPPORT/192 -w "%{num_connects}\n" diff --git a/tests/data/test193 b/tests/data/test193 index c421833..cc1b0c7 100644 --- a/tests/data/test193 +++ b/tests/data/test193 @@ -32,7 +32,7 @@ http HTTP GET -w num_connects with redirected fetch (2 connects) -http://%HOSTIP:%HTTPPORT/193 -w '%{num_connects}\n' -L +http://%HOSTIP:%HTTPPORT/193 -w "%{num_connects}\n" -L diff --git a/tests/data/test199 b/tests/data/test199 index db0d12c..c9651bc 100644 --- a/tests/data/test199 +++ b/tests/data/test199 @@ -28,7 +28,7 @@ http HTTP with -d, -G and {} --d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/{199,199} -G +-d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{199,199}" -G diff --git a/tests/data/test214 b/tests/data/test214 index 7d93ab2..e12dfbf 100644 --- a/tests/data/test214 +++ b/tests/data/test214 @@ -23,7 +23,7 @@ http HTTP URL with escaped { and } -'http://%HOSTIP:%HTTPPORT/\{\}\/214' +"http://%HOSTIP:%HTTPPORT/\{\}\/214" diff --git a/tests/data/test217 b/tests/data/test217 index da98339..db029dd 100644 --- a/tests/data/test217 +++ b/tests/data/test217 @@ -20,7 +20,7 @@ http HTTP proxy CONNECT to proxy returning 405 -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" diff --git a/tests/data/test22 b/tests/data/test22 index 4a28a90..734379e 100644 --- a/tests/data/test22 +++ b/tests/data/test22 @@ -26,7 +26,7 @@ http get HTTP with URL > 10000 bytes -%HOSTIP:%HTTPPORT/`perl -e 'print "a" x 10000;'`/22 +%HOSTIP:%HTTPPORT/`perl -e "print \"a\" x 10000;"`/22 diff --git a/tests/data/test258 b/tests/data/test258 index f45572b..ae88039 100644 --- a/tests/data/test258 +++ b/tests/data/test258 @@ -60,7 +60,7 @@ crypto HTTP POST multipart without Expect: header using proxy anyauth (Digest) --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 # We create this file before the command is invoked! diff --git a/tests/data/test27 b/tests/data/test27 index df86032..5ae2ffd 100644 --- a/tests/data/test27 +++ b/tests/data/test27 @@ -27,7 +27,7 @@ http Get same cookie page several times -'http://%HOSTIP:%HTTPPORT/want/{27,27,27}' -b none +"http://%HOSTIP:%HTTPPORT/want/{27,27,27}" -b none diff --git a/tests/data/test44 b/tests/data/test44 index 2d5774c..8220a1a 100644 --- a/tests/data/test44 +++ b/tests/data/test44 @@ -27,7 +27,7 @@ http HTTP RFC1867-type formposting without Expect: header -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:" # We create this file before the command is invoked! diff --git a/tests/data/test57 b/tests/data/test57 index 752f690..d4db951 100644 --- a/tests/data/test57 +++ b/tests/data/test57 @@ -25,7 +25,7 @@ http HTTP content-type with spaces in --w '%{content_type}\n' http://%HOSTIP:%HTTPPORT/57 -o log/out57 +-w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/57 -o log/out57