diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2023-01-14 21:19:45 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2023-01-14 21:19:45 +0100 |
commit | 9e9960d5a20d07433237e3ab2ae48ed2b2465c32 (patch) | |
tree | a9f0235e38fead8000e66c92f203993d76524b76 | |
parent | 14fc6b232619e0e48a8bf0a8b3f868cd71a59696 (diff) | |
download | klibc-maint-9e9960d5a20d07433237e3ab2ae48ed2b2465c32.tar.gz |
test-many-klibcs: Apply timeout to test programs
Sometimes bugs cause test programs to run indefinitely. Use timeout
to kill them after 30 seconds, which should be long enough for any
one test program to complete.
-rwxr-xr-x | test-many-klibcs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-many-klibcs b/test-many-klibcs index 9f430fb..0f45de0 100755 --- a/test-many-klibcs +++ b/test-many-klibcs @@ -79,7 +79,7 @@ qemu_prefix() { } run_built() { - $(qemu_prefix) "$@" + timeout 30 $(qemu_prefix) "$@" } patch_interp() { |