]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test399: switch it to use a config file instead
authorDaniel Stenberg <daniel@haxx.se>
Tue, 16 Aug 2022 12:01:29 +0000 (14:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 16 Aug 2022 14:35:47 +0000 (16:35 +0200)
... as using a 65535 bytes host name in a URL does not fit on the
command line on some systems - like Windows.

Reported-by: Marcel Raad
Fixes #9321
Closes #9322

tests/data/test399

index 46d001a424a76a7de718c932e51177acb1012cf2..da4bae5fde5a369b665bcb1434653f13c24c1bfd 100644 (file)
@@ -12,11 +12,14 @@ URL
 <server>
 http
 </server>
- <name>
+<name>
 65536 bytes long host name in URL
- </name>
- <command>
-http://%repeat[65536 x a]%/399
+</name>
+<file name="log/input%TESTNUM">
+url = http://%repeat[65536 x a]%/399
+</file>
+<command>
+-K log/input%TESTNUM
 </command>
 </client>