]> git.ipfire.org Git - thirdparty/curl.git/commit
runtests: better handle ^C during slow tests
authorDan Fandrich <dan@coneharvesters.com>
Wed, 14 Jun 2023 22:18:36 +0000 (15:18 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 20 Jun 2023 00:14:27 +0000 (17:14 -0700)
commit847e42d8683204d5f1ff64fb23b9deb8bf6403f4
tree8bbef9e36cba6ead7d9f7300da63948ea76f2163
parent1177c741b9d1f00c46f5594d191180befc38fc1d
runtests: better handle ^C during slow tests

Since the SIGINT handler now just sets a flag that must be checked in the
main controller loop, make sure that runs periodically.  Rather than
blocking on a response from a test runner near the end of the test run,
add a short timeout to allow it.
tests/runtests.pl