]> granicus.if.org Git - curl/commitdiff
Use double quotes in command lines for consistency.
authorDan Fandrich <dan@coneharvesters.com>
Tue, 18 Sep 2007 20:41:20 +0000 (20:41 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 18 Sep 2007 20:41:20 +0000 (20:41 +0000)
12 files changed:
tests/data/test15
tests/data/test18
tests/data/test192
tests/data/test193
tests/data/test199
tests/data/test214
tests/data/test217
tests/data/test22
tests/data/test258
tests/data/test27
tests/data/test44
tests/data/test57

index e68873457917b9239bdfa53049ab4c15631e42ad..6b101cd2a0fbbc3abb406198e130a9e9ebc8e477 100644 (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>
 
index 042164b432260209919a4d873ada38bef1d218c0..9da0bb7432c23ec7240e37fe8cf318a2e7a2e9e5 100644 (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>
 
index 391215a031fd1b9ccb16f75d5bcbfbc6c060884b..bd03d2b9d2312e870f71839eaf27f1e6b27c9956 100644 (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>
 
index c4218331d032eba6067e38e946cf42aefc35f96a..cc1b0c7ed6110fc06340a365832202f41465d938 100644 (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>
 
index db0d12c923fffb4734899cba3b3e8a16b47e62da..c9651bca26a3ea30c75f4501d3e9bdca234e90cb 100644 (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>
 
index 7d93ab23421460b1aead2408cff8eafe46a620b5..e12dfbfe1673fd931a9ccaa860a13d158d4a574e 100644 (file)
@@ -23,7 +23,7 @@ http
 HTTP URL with escaped { and }
  </name>
 <command>
-'http://%HOSTIP:%HTTPPORT/\{\}\/214'
+"http://%HOSTIP:%HTTPPORT/\{\}\/214"
 </command>
 </client>
 
index da98339ee9885efb1fc5044e924c7c381afeb937..db029dd840d212d64c617f9f9717b763b1d02f04 100644 (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>
 
index 4a28a906a98ecd9262350419e4724d6ea09bfdff..734379e871d62c1904a7ed02904287d6f53c8a17 100644 (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>
 
index f45572b90d5ec0b8efcc8761b6779fd34f8d4d51..ae880391e7a405eae63b382adb5f8154ca32576f 100644 (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">
index df8603225d578bd313854bc0b80444558a3580a1..5ae2ffd4fd4bc30eb22d393d138063979b32eacc 100644 (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>
 
index 2d5774c2dc8162919bde1a0cc72d4923bfbb7b09..8220a1aa115efb578c7795ec98e4a1e1f83fbc9b 100644 (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">
index 752f69020391c6a38c7b713a668c693a52335263..d4db95141e9f49ca3e2229de4942f25b85451f39 100644 (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>