aboutsummaryrefslogtreecommitdiff
path: root/tests/curl/testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:39:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-01 16:40:28 +0300
commit884f621be44e13b8df6a036b7542c789dd0caecb (patch)
tree457ad0b2a1a88173451250edabfe8f52c42fc143 /tests/curl/testscript
parent2bdcc55c22dc4ed019f81032347e861bec69ff6f (diff)
Combine multiple single-character flags into a single argument for testscript commands
Diffstat (limited to 'tests/curl/testscript')
-rw-r--r--tests/curl/testscript16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/curl/testscript b/tests/curl/testscript
index 7d187b6..466558e 100644
--- a/tests/curl/testscript
+++ b/tests/curl/testscript
@@ -25,16 +25,16 @@ sudo /usr/sbin/in.tftpd \
$* 'tftp' &foo &bar 2>>EOE;
- curl -s -S tftp://localhost:55123/test-driver/tftp/foo
+ curl -sS tftp://localhost:55123/test-driver/tftp/foo
curl: (68) TFTP: File Not Found
- curl -s -S --upload-file foo-src tftp://localhost:55123/test-driver/tftp/foo
+ curl -sS --upload-file foo-src tftp://localhost:55123/test-driver/tftp/foo
- curl -s -S --upload-file - tftp://localhost:55123/test-driver/tftp/bar
+ curl -sS --upload-file - tftp://localhost:55123/test-driver/tftp/bar
- curl -s -S tftp://localhost:55123/test-driver/tftp/foo
+ curl -sS tftp://localhost:55123/test-driver/tftp/foo
- curl -s -S tftp://localhost:55123/test-driver/tftp/foo
+ curl -sS tftp://localhost:55123/test-driver/tftp/foo
EOE
diff -u foo-src foo;
@@ -46,12 +46,12 @@ sudo /usr/sbin/in.tftpd \
{
$* 'http' 2>>EOE
- curl -s -S --fail --location https://build2.org/bogus
+ curl -sS --fail --location https://build2.org/bogus
curl: (22) The requested URL returned error: 404 Not Found
- curl -s -S --fail --location https://build2.org
+ curl -sS --fail --location https://build2.org
- curl -s -S --fail --location --data-binary @- https://build2.org/bogus
+ curl -sS --fail --location --data-binary @- https://build2.org/bogus
curl: (22) The requested URL returned error: 404 Not Found
EOE
}