From ceec176b04b168ac9bc3644989d26fa9e6d0404e Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 24 May 2017 22:57:18 +0200 Subject: [PATCH] reactivate server test --- tests.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests.sh b/tests.sh index f6c53678e..3cabbadbe 100755 --- a/tests.sh +++ b/tests.sh @@ -4,18 +4,18 @@ # it is written only for internal tests via Travis CI TDIR=build/local_prefix/opt/hermit/x86_64-hermit/extra -FILES="$TDIR/tests/hello $TDIR/tests/hellof $TDIR/tests/hello++ $TDIR/tests/thr_hello $TDIR/tests/pi $TDIR/benchmarks/stream $TDIR/benchmarks/basic $TDIR/tests/signals $TDIR/tests/test-malloc" +FILES="$TDIR/tests/hello $TDIR/tests/hellof $TDIR/tests/hello++ $TDIR/tests/thr_hello $TDIR/tests/pi $TDIR/benchmarks/stream $TDIR/benchmarks/basic $TDIR/tests/signals $TDIR/tests/test-malloc $TDIR/tests/test-malloc-mt" PROXY=build/local_prefix/opt/hermit/bin/proxy for f in $FILES; do echo "check $f..."; HERMIT_ISLE=qemu HERMIT_CPUS=1 HERMIT_KVM=0 HERMIT_VERBOSE=1 timeout --kill-after=5m 5m $PROXY $f || exit 1; done # test echo server at port 8000 -#HERMIT_ISLE=qemu HERMIT_CPUS=1 HERMIT_KVM=0 HERMIT_VERBOSE=1 HERMIT_APP_PORT=8000 $PROXY $TDIR/tests/server & -#sleep 10 -#curl http://127.0.0.1:8000/help -#sleep 1 -#curl http://127.0.0.1:8000/hello -#sleep 1 +HERMIT_ISLE=qemu HERMIT_CPUS=1 HERMIT_KVM=0 HERMIT_VERBOSE=1 HERMIT_APP_PORT=8000 $PROXY $TDIR/tests/server & +sleep 10 +curl http://127.0.0.1:8000/help +sleep 1 +curl http://127.0.0.1:8000/hello +sleep 1 # kill server -#kill $! +kill $!