From 884f621be44e13b8df6a036b7542c789dd0caecb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 1 Aug 2019 16:39:40 +0300 Subject: Combine multiple single-character flags into a single argument for testscript commands --- tests/curl/testscript | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/curl') 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 } -- cgit v1.1