]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: introduce preprocessed test cases
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Apr 2020 07:58:42 +0000 (09:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Apr 2020 20:46:04 +0000 (22:46 +0200)
commitd009bc2e565844db030d7098624b39b2903a808d
tree1ccef4e0c1a22960befd8bd413d6fc34e264e806
parent5e2f4a33fe663c2ae8cc92c02193a7261c524867
tests: introduce preprocessed test cases

The runtests script now always performs variable replacement on the
entire test source file before the test gets executed, and saves the
updated version in a temporary file (log/test[num]) so that all test
case readers/servers can use that version (if present) and thus enjoy
the powers of test case variable substitution.

This is necessary to allow complete port number freedom.

Test 309 is updated to work with a non-fixed port number thanks to this.
tests/data/test309
tests/getpart.pm
tests/runtests.pl
tests/server/fake_ntlm.c
tests/server/mqttd.c
tests/server/rtspd.c
tests/server/sws.c
tests/server/tftpd.c
tests/server/util.c
tests/server/util.h