]> granicus.if.org Git - curl/commitdiff
tests: stabilize test 1034
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 16 May 2017 19:29:59 +0000 (21:29 +0200)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Sat, 20 May 2017 17:00:16 +0000 (19:00 +0200)
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

tests/data/test1034

index 063f52b322b34eb1240eef4ee2fb677b5f3450c8..6c1beb671d402c832e502f144490dad635a826e8 100644 (file)
@@ -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-â\90.local/page/1034"
+</stdin>
  <command>
-http://invalid-utf8-â\90.local/page/1034 -x %HOSTIP:%HTTPPORT
+-K - -x %HOSTIP:%HTTPPORT
 </command>
 </client>