commit | 9e9960d5a20d07433237e3ab2ae48ed2b2465c32 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Sat Jan 14 21:19:45 2023 +0100 |
committer | Ben Hutchings <ben@decadent.org.uk> | Sat Jan 14 21:19:45 2023 +0100 |
tree | a9f0235e38fead8000e66c92f203993d76524b76 | |
parent | 14fc6b232619e0e48a8bf0a8b3f868cd71a59696 [diff] |
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.
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 @@ } run_built() { - $(qemu_prefix) "$@" + timeout 30 $(qemu_prefix) "$@" } patch_interp() {