curl/tests
Viktor Szakats 3d42510118
runtests: allow client/command to span multiple lines, and use it
Some curl command-lines are long, often repetitive, and difficult
to read or write:

Before this patch (1 test == 1 line):
- <=78 characters: 1099 tests
- 79-132 characters: 500 tests
- 133+ characters: 217 tests: patch meant to help with some of these.

After this patch:
- <=78 characters: 1288 lines
- 79-132 characters: 526 lines
- 133+ characters: 190 lines

After this patch it's possible to fold long lines into multiple ones.
Folding can reduce greppability, thus this is primarily useful for cases
when the options are repetitive, e.g. a list of form options, headers,
mail parameters and the like.

Closes #19500
2025-11-13 01:05:01 +01:00
..
certs configure: if no perl, disable unity and shell completion, related tidy ups 2025-08-04 14:55:10 +02:00
cmake lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
data runtests: allow client/command to span multiple lines, and use it 2025-11-13 01:05:01 +01:00
http pytest: fix conditions for test_02_28 2025-11-10 23:30:20 +01:00
libtest test1554: make test output XML-friendly 2025-11-12 16:26:57 +01:00
server tests/server: do not fall back to original data file in test2fopen() 2025-11-09 21:14:41 +01:00
tunit lib: stop overriding system printf symbols 2025-10-06 20:57:59 +02:00
unit noproxy: replace atoi with curlx_str_number 2025-11-12 10:30:59 +01:00
.gitignore tidy-up: .gitignore lines mostly 2025-01-27 20:59:46 +01:00
allversions.pm scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
appveyor.pm tidy-up: whitespace (more in Perl) 2025-07-12 08:59:44 +02:00
azure.pm runtests: fix quoting in Appveyor and Azure test integration 2023-04-22 11:50:03 -07:00
CMakeLists.txt tests: replace remaining CR bytes with the new macro %CR 2025-11-06 20:45:45 +01:00
config.in copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
configurehelp.pm.in build: use configurehelp.pm.in with autotools and cmake 2024-09-21 12:21:14 +02:00
devtest.pl tests/data: support using native newlines on disk, drop .gitattributes 2025-11-10 14:21:34 +01:00
dictserver.py tidy-up: align MSYS2/Cygwin codepaths, follow Cygwin MAX_PID bump 2025-02-21 11:58:05 +01:00
directories.pm scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
ech_combos.py tidy-up: whitespace [ci skip] 2024-04-16 09:53:39 +02:00
ech_tests.sh badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
ftpserver.pl tests: remove trailing spaces in server responses 2025-11-05 15:17:29 +01:00
getpart.pm tests/data: support using native newlines on disk, drop .gitattributes 2025-11-10 14:21:34 +01:00
globalconfig.pm tests: replace remaining CR bytes with the new macro %CR 2025-11-06 20:45:45 +01:00
http-server.pl runtests: support multi-target cmake, drop workarounds from CI 2025-02-24 21:00:30 +01:00
http2-server.pl tests: fix perl warnings in http2-server, http3-server 2025-07-30 14:21:17 +02:00
http3-server.pl tests: fix perl warnings in http2-server, http3-server 2025-07-30 14:21:17 +02:00
Makefile.am tests: replace remaining CR bytes with the new macro %CR 2025-11-06 20:45:45 +01:00
memanalyze.pl memanalyze: fix warnings 2025-07-28 12:43:02 +02:00
negtelnetserver.py tidy-up: align MSYS2/Cygwin codepaths, follow Cygwin MAX_PID bump 2025-02-21 11:58:05 +01:00
nghttpx.conf copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
pathhelp.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
processhelp.pm processhelp.pm: log taskkill pid info, add debug envs, enable in CI 2025-11-10 02:00:17 +01:00
requirements.txt GHA: bump the pip-dependencies group across 2 directories with 3 updates 2025-11-02 17:10:39 +01:00
rtspserver.pl runtests: support multi-target cmake, drop workarounds from CI 2025-02-24 21:00:30 +01:00
runner.pm runtests: allow client/command to span multiple lines, and use it 2025-11-13 01:05:01 +01:00
runtests.pl tests/data: support using native newlines on disk, drop .gitattributes 2025-11-10 14:21:34 +01:00
secureserver.pl tests: Add https-mtls server to force client auth 2025-04-07 08:46:56 +02:00
serverhelp.pm runtests: assume Time::HiRes, drop Perl Win32 dependency 2025-08-14 16:34:06 +02:00
servers.pm perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
smbserver.py GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
sshhelp.pm runtests: fix test key format for libssh2 WinCNG (and others) 2025-03-23 20:26:26 +01:00
sshserver.pl tidy-up: whitespace 2025-07-11 13:32:54 +02:00
test745.pl perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
test971.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1119.pl docs: add CURLOPT type change history, drop casts where present 2025-08-02 00:05:33 +02:00
test1132.pl tests: rename tests scripts to the test number 2023-12-08 12:53:17 +01:00
test1135.pl tidy-up: whitespace (more in Perl) 2025-07-12 08:59:44 +02:00
test1139.pl badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
test1140.pl badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
test1165.pl tidy-up: whitespace (more in Perl) 2025-07-12 08:59:44 +02:00
test1167.pl tidy-up: whitespace (more in Perl) 2025-07-12 08:59:44 +02:00
test1173.pl badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
test1175.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1177.pl NTLM_WB: drop support 2024-04-08 13:58:58 +02:00
test1222.pl badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
test1275.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1276.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1477.pl badwords: re-sync with curl-www, fix issues found 2025-11-12 00:53:44 +01:00
test1486.pl writeout: add %time{} 2025-08-04 23:45:48 +02:00
test1488.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
test1544.pl scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
test1707.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
testcurl.pl perlcheck: add script, run in CI, fix fallouts 2025-09-26 14:47:33 +02:00
testutil.pm tests: replace remaining CR bytes with the new macro %CR 2025-11-06 20:45:45 +01:00
tftpserver.pl tests: Remove unused variables 2025-03-22 11:12:29 -07:00
util.py tests/data: support using native newlines on disk, drop .gitattributes 2025-11-10 14:21:34 +01:00
valgrind.pm tests/valgrind.pm: fix warnings with no valgrind report to show 2024-09-20 15:40:07 +02:00
valgrind.supp hyper: drop support 2024-12-21 11:33:05 +01:00