summaryrefslogtreecommitdiff
path: root/curl/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-04 18:00:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-04 18:24:34 +0300
commit4df6e550da05fb7757b871548375330f631f1e95 (patch)
treec06e52eb8372427b6b9cfaa54772b22c1b062c40 /curl/tests
parentb8be2e2c5d19e8aee2ac4d1b76171d822b63da63 (diff)
Release version 7.67.0+2v7.67.0+2
Run curl in verbose mode in HTTPS URL query test
Diffstat (limited to 'curl/tests')
-rw-r--r--curl/tests/https.testscript19
1 files changed, 13 insertions, 6 deletions
diff --git a/curl/tests/https.testscript b/curl/tests/https.testscript
index 63d7830..6703b72 100644
--- a/curl/tests/https.testscript
+++ b/curl/tests/https.testscript
@@ -1,14 +1,14 @@
# file : tests/https.testscript
# copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
# license : cURL License; see accompanying COPYING file
-
+#\
: default
:
{
- $* -sS 'https://www.build2.org' >>~%EOO%
- %<!DOCTYPE .*>%
- %.+
- EOO
+ test.options += -sS
+
+ $* 'http://www.example.com' | set s;
+ $* 'https://www.example.com' >"$s"
}
: override
@@ -18,5 +18,12 @@
: certificates' exit code.
:
{
- $* -s 'https://www.build2.org' --capath "$src_base/empty.pem" == 60
+ $* -s 'https://www.example.com' --capath "$src_base/empty.pem" == 60
+}
+#\
+
+: verbose
+:
+{
+ $* -v 'https://www.example.com' >! 2>&1
}