diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-06-15 01:39:44 +0200 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-06-16 23:10:17 +0200 |
commit | 9cd32cbde900238795ad80c5e3c0adb5975c8f2e (patch) | |
tree | e227f3ead4c487e04e98fa74958d61026e6c42c6 | |
parent | cbd3735049526d55d79b7176019f4a0c02a41dca (diff) | |
download | sparse-9cd32cbde900238795ad80c5e3c0adb5975c8f2e.tar.gz |
testsuite: be less paranoid with timeout
For some testcases, the testsuite use the command 'timeout'
to ensure that the test finish after a reasonable amount of
time. This is mainly used for some testcases which, in the past,
were stuck in an infinite loop. This the command 'timeout' is
used with an extra option (-k 1s) to issue a second kill signal
in case the first one would have been ignored.
However, this extra option is not supported on all implementations
(Alpine) and its use seems a bit paranoid for sparse.
So, remove this extra option.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rwxr-xr-x | validation/test-suite | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/test-suite b/validation/test-suite index 64a3e08f..a22f7013 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -338,7 +338,7 @@ do_test() # do we want a timeout? pre_cmd="" if [ $check_timeout -ne 0 ]; then - pre_cmd="timeout -k 1s $check_timeout" + pre_cmd="timeout $check_timeout" fi shift |