1
0
Fork 0
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:
Stefan Lankes 2016-11-20 15:00:22 +01:00
parent 5b73082bfd
commit f468af3951

View file

@ -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 &