1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

set HERMIT_APP_PORT only, if the Travis tests depend on it

This commit is contained in:
Stefan Lankes 2016-11-26 23:29:16 +01:00 committed by Daniel Krebs
parent 3ddd6d3a12
commit 30f53079cc
2 changed files with 1 additions and 2 deletions

View file

@ -25,4 +25,3 @@ env:
- HERMIT_MEM="512M"
- HERMIT_KVM="0"
- HERMIT_VERBOSE="1"
- HERMIT_APP_PORT=8000

View file

@ -9,7 +9,7 @@ PROXY=tools/proxy
for f in $FILES; do echo "check $f..."; $PROXY $f || exit 1; done
# test echo server at port 8000
$PROXY usr/tests/server &
HERMIT_APP_PORT=8000 $PROXY usr/tests/server &
sleep 10
curl http://127.0.0.1:8000/help
sleep 1