From cdd4313a2ccc5b763b6ffda2938e39b8b9290ff6 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 18 Jan 2017 22:50:01 +0100 Subject: [PATCH] remove workarounds --- test.sh | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/test.sh b/test.sh index 256f9f071..c29469b81 100644 --- a/test.sh +++ b/test.sh @@ -5,22 +5,14 @@ FILES="usr/tests/hello usr/tests/hellof usr/tests/hello++ usr/tests/thr_hello usr/tests/pi usr/benchmarks/stream usr/benchmarks/basic" PROXY=/opt/hermit/bin/proxy -BRANCH="production" -echo $TRAVIS_BRANCH -echo $BRANCH +for f in $FILES; do echo "check $f..."; $PROXY $f || exit 1; done -if [ "$TRAVIS_BRANCH" == "$BRANCH" ]; then - echo "No tests on production branch" -else - for f in $FILES; do echo "check $f..."; $PROXY $f || exit 1; done +# test echo server at port 8000 +#HERMIT_APP_PORT=8000 $PROXY usr/tests/server & +#sleep 10 +#curl http://127.0.0.1:8000/help +#sleep 1 - # test echo server at port 8000 - #HERMIT_APP_PORT=8000 $PROXY usr/tests/server & - #sleep 10 - #curl http://127.0.0.1:8000/help - #sleep 1 - - # kill server - #kill $! -fi +# kill server +#kill $!