]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test1025, 1221: fold long command-lines
authorViktor Szakats <commit@vsz.me>
Tue, 9 Dec 2025 11:18:31 +0000 (12:18 +0100)
committerViktor Szakats <commit@vsz.me>
Tue, 9 Dec 2025 11:40:21 +0000 (12:40 +0100)
Closes #19893

tests/data/test1015
tests/data/test1221

index 4fe79c7b99021be01f48dec7267fff9f0b70b47f..2cd937806043b80ac628c1984d83cd3a2ac63ce3 100644 (file)
@@ -29,7 +29,11 @@ http
 --data-urlencode
 </name>
 <command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt" --data-urlencode @%LOGDIR/%TESTNUMBER.txt
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
+--data-urlencode "my name is moo[]"
+--data-urlencode "y e s=s_i_r"
+--data-urlencode "v_alue@%LOGDIR/%TESTNUMBER.txt"
+--data-urlencode @%LOGDIR/%TESTNUMBER.txt
 </command>
 <file name="%LOGDIR/%TESTNUMBER.txt">
 content to _?!#$'|%LT%GT
index 12a82be1ee746e2647dbc563ab86d9cf9038f3ad..5f200c17abbe02745231b8a7005f6526293ca1eb 100644 (file)
@@ -30,7 +30,13 @@ http
 --url-query with --data-urlencode
 </name>
 <command>
-http://%HOSTIP:%HTTPPORT/%TESTNUMBER --url-query "my name is moo[]" --url-query "yes=s i r" --url-query "v_alue@%LOGDIR/%TESTNUMBER.txt" --url-query @%LOGDIR/%TESTNUMBER.txt --url-query "+%3d%3d" --data-urlencode "start=once upon the time"
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER
+--url-query "my name is moo[]"
+--url-query "yes=s i r"
+--url-query "v_alue@%LOGDIR/%TESTNUMBER.txt"
+--url-query @%LOGDIR/%TESTNUMBER.txt
+--url-query "+%3d%3d"
+--data-urlencode "start=once upon the time"
 </command>
 <file name="%LOGDIR/%TESTNUMBER.txt">
 content to _?!#$'|%LT%GT