aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 23:03:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 23:03:48 +0300
commit70dcfcc83aec5e07f99f0893db6120ec5d293434 (patch)
treeef72bead2450b3a6a488622dc58f8a2282318498 /tests
parent282dce564a6cd33469f6b82ce94582bc4d9121be (diff)
Fix curl testscript
Diffstat (limited to 'tests')
-rw-r--r--tests/curl/testscript16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/curl/testscript b/tests/curl/testscript
index 04db13e..3da2306 100644
--- a/tests/curl/testscript
+++ b/tests/curl/testscript
@@ -24,16 +24,16 @@ sudo /usr/sbin/in.tftpd \
$* 'tftp' &foo &bar 2>>EOE;
- curl -sS tftp://localhost:55123/test-driver/tftp/foo
+ curl -s -S tftp://localhost:55123/test-driver/tftp/foo
curl: (68) TFTP: File Not Found
- curl -sS --upload-file foo-src tftp://localhost:55123/test-driver/tftp/foo
+ curl -s -S --upload-file foo-src tftp://localhost:55123/test-driver/tftp/foo
- curl -sS --upload-file - tftp://localhost:55123/test-driver/tftp/bar
+ curl -s -S --upload-file - tftp://localhost:55123/test-driver/tftp/bar
- 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
+ curl -s -S tftp://localhost:55123/test-driver/tftp/foo
EOE
diff -u foo-src foo;
@@ -45,12 +45,12 @@ sudo /usr/sbin/in.tftpd \
{
$* 'http' 2>>EOE
- curl -sS --fail --location https://build2.org/bogus
+ curl -s -S --fail --location https://build2.org/bogus
curl: (22) The requested URL returned error: 404 Not Found
- curl -sS --fail --location https://build2.org
+ curl -s -S --fail --location https://build2.org
- curl -sS --fail --location --data-binary @- https://build2.org/bogus
+ curl -s -S --fail --location --data-binary @- https://build2.org/bogus
curl: (22) The requested URL returned error: 404 Not Found
EOE
}