]> git.ipfire.org Git - thirdparty/curl.git/commit
tests: limit return code of unit tests and lib tests
authorDan Fandrich <dan@coneharvesters.com>
Fri, 31 Mar 2023 02:13:38 +0000 (19:13 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 31 Mar 2023 02:16:40 +0000 (19:16 -0700)
commit2dd471d577716af199ce4e882710bffad84264ab
treeaea9401fc313b698da67269f70a39419de184cae
parent9fa018dbf791ed700a797b7d46fb75ee1651ad99
tests: limit return code of unit tests and lib tests

Values greater than 125 have special meanings, so cap it there.  Unit
tests and lib tests use the number of failures as the return code, so a
large number of failures (such as test 2601 as a torture test) can
exceed this causing the test to be erroneously reported as having
failed.

Ref: #10720
tests/libtest/first.c