tests/data: replace < with %LT

For XML-compliance.

Closes #19924
This commit is contained in:
Viktor Szakats 2025-12-10 22:57:58 +01:00
parent 73b732e3e8
commit 7109b427fb
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 5 additions and 8 deletions

View file

@ -3,7 +3,6 @@
<keywords>
HTTP
HTTP FORMPOST
notxml
</keywords>
</info>
# Server-side
@ -34,7 +33,7 @@ http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER --form-escape
-F name=daniel
-F tool=curl
--form-string "str1=@literal"
--form-string "str2=<verbatim;type=xxx/yyy"
--form-string "str2=%LTverbatim;type=xxx/yyy"
-F "file=@%LOGDIR/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile"
-F file2=@%LOGDIR/test%TESTNUMBER.txt
-F "file3=@\"%LOGDIR/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\""
@ -77,7 +76,7 @@ Content-Disposition: form-data; name="str1"%CR
------------------------------24e78000bd32%CR
Content-Disposition: form-data; name="str2"%CR
%CR
<verbatim;type=xxx/yyy%CR
%LTverbatim;type=xxx/yyy%CR
------------------------------24e78000bd32%CR
Content-Disposition: form-data; name="file"; filename="fakerfile"%CR
Content-Type: moo/foobar%CR

View file

@ -3,7 +3,6 @@
<keywords>
HTTP
HTTP POST
notxml
</keywords>
</info>
@ -31,7 +30,7 @@ http
HTTP multipart formpost with contents from a file
</name>
<command>
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=<%LOGDIR/field%TESTNUMBER" -F tool=curl
http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER -F "name=%LT%LOGDIR/field%TESTNUMBER" -F tool=curl
</command>
# We create this file before the command is invoked!
<file name="%LOGDIR/field%TESTNUMBER">

View file

@ -3,7 +3,6 @@
<keywords>
HTTP
HTTP FORMPOST
notxml
</keywords>
</info>
# Server-side
@ -34,7 +33,7 @@ http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER
-F name=daniel
-F tool=curl
--form-string "str1=@literal"
--form-string "str2=<verbatim;type=xxx/yyy"
--form-string "str2=%LTverbatim;type=xxx/yyy"
-F "file=@%LOGDIR/test%TESTNUMBER.txt;type=moo/foobar;filename=fakerfile"
-F file2=@%LOGDIR/test%TESTNUMBER.txt
-F "file3=@\"%LOGDIR/test%TESTNUMBER.txt\";type=mo/foo;filename=\"f\\\\\\\\ak\\\\\\er,\\\\an\\d;.t\\\"xt\""
@ -77,7 +76,7 @@ Content-Disposition: form-data; name="str1"%CR
------------------------------24e78000bd32%CR
Content-Disposition: form-data; name="str2"%CR
%CR
<verbatim;type=xxx/yyy%CR
%LTverbatim;type=xxx/yyy%CR
------------------------------24e78000bd32%CR
Content-Disposition: form-data; name="file"; filename="fakerfile"%CR
Content-Type: moo/foobar%CR