aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2017-05-16 21:29:59 +0200
committerMichael Kaufmann <mail@michael-kaufmann.ch>2017-05-20 19:00:16 +0200
commit052a14e3cda7ea16729a4403b60bc94907c561b7 (patch)
tree0d727ffb87d2b93aae8f697f8a580473fea97088 /tests/data
parentf31760e63b4e9ef1eb25f8f211390f8239388515 (diff)
tests: stabilize test 1034
Pass the invalid domain name on stdin. On some systems, the test framework cannot pass invalid UTF-8 sequences on the command line. Closes #1488
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test10346
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test1034 b/tests/data/test1034
index 063f52b32..6c1beb671 100644
--- a/tests/data/test1034
+++ b/tests/data/test1034
@@ -6,6 +6,7 @@ HTTP GET
HTTP proxy
IDN
FAILURE
+config file
</keywords>
</info>
@@ -44,8 +45,11 @@ HTTP over proxy with malformatted IDN host name
# This host name contains an invalid UTF-8 byte sequence that can't be
# converted into an IDN name
+<stdin>
+url = "http://invalid-utf8-.local/page/1034"
+</stdin>
<command>
-http://invalid-utf8-.local/page/1034 -x %HOSTIP:%HTTPPORT
+-K - -x %HOSTIP:%HTTPPORT
</command>
</client>