diff options
Diffstat (limited to 'tests/data/test1158')
-rw-r--r-- | tests/data/test1158 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/data/test1158 b/tests/data/test1158 index c6a71c65c..fd21d74bb 100644 --- a/tests/data/test1158 +++ b/tests/data/test1158 @@ -26,13 +26,13 @@ http HTTP RFC1867-type formposting with filename containing '"' </name> <command> -http://%HOSTIP:%HTTPPORT/we/want/1158 -F "file=@\"log/test1158\\\".txt\";type=mo/foo;filename=\"test1158\\\".txt\"" -F 'file2=@"log/test1158\".txt"' -F 'file3=@"log/test1158\".txt";type=m/f,"log/test1158\".txt"' +http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "file=@\"log/test%TESTNUMBER\\\".txt\";type=mo/foo;filename=\"test%TESTNUMBER\\\".txt\"" -F 'file2=@"log/test%TESTNUMBER\".txt"' -F 'file3=@"log/test%TESTNUMBER\".txt";type=m/f,"log/test%TESTNUMBER\".txt"' </command> <precheck> perl -e "print 'Test requires a system supporting double quotes in file names' if ($^O eq 'msys');" </precheck> # We create this file before the command is invoked! -<file name=log/test1158".txt> +<file name=log/test%TESTNUMBER".txt> foo bar This is a bar foo bar @@ -46,7 +46,7 @@ foo ^(Content-Type: multipart/form-data;|Content-Type: multipart/mixed; boundary=|-------).* </strip> <protocol> -POST /we/want/1158 HTTP/1.1
+POST /we/want/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
@@ -54,7 +54,7 @@ Content-Length: 954 Content-Type: multipart/form-data; boundary=----------------------------24e78000bd32
------------------------------24e78000bd32
-Content-Disposition: form-data; name="file"; filename="test1158\".txt"
+Content-Disposition: form-data; name="file"; filename="test%TESTNUMBER\".txt"
Content-Type: mo/foo
foo bar @@ -63,7 +63,7 @@ bar foo ------------------------------24e78000bd32
-Content-Disposition: form-data; name="file2"; filename="test1158\".txt"
+Content-Disposition: form-data; name="file2"; filename="test%TESTNUMBER\".txt"
Content-Type: text/plain
foo bar @@ -75,7 +75,7 @@ foo Content-Disposition: form-data; name="file3"
Content-Type: multipart/mixed; boundary=----------------------------7f0e85a48b0b
-Content-Disposition: attachment; filename="test1158\".txt"
+Content-Disposition: attachment; filename="test%TESTNUMBER\".txt"
Content-Type: m/f
foo bar @@ -83,7 +83,7 @@ This is a bar foo bar foo -Content-Disposition: attachment; filename="test1158\".txt"
+Content-Disposition: attachment; filename="test%TESTNUMBER\".txt"
Content-Type: text/plain
foo bar |