mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
add time flag to exit with the same status as the tests
This commit is contained in:
parent
5b73082bfd
commit
f468af3951
1 changed files with 1 additions and 1 deletions
2
test.sh
2
test.sh
|
@ -6,7 +6,7 @@
|
|||
FILES="hermit/usr/tests/hello hermit/usr/tests/hellof hermit/usr/tests/hello++ hermit/usr/tests/thr_hello hermit/usr/tests/pi hermit/usr/benchmarks/stream hermit/usr/benchmarks/basic"
|
||||
PROXY=hermit/tools/proxy
|
||||
|
||||
for f in $FILES; do echo "check $f..."; timeout 180 $PROXY $f || exit 1; done
|
||||
for f in $FILES; do echo "check $f..."; timeout --preserve-status 3m $PROXY $f || exit 1; done
|
||||
|
||||
# test echo server at port 8000
|
||||
$PROXY hermit/usr/tests/server &
|
||||
|
|
Loading…
Add table
Reference in a new issue