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:
parent
3ddd6d3a12
commit
30f53079cc
2 changed files with 1 additions and 2 deletions
|
@ -25,4 +25,3 @@ env:
|
|||
- HERMIT_MEM="512M"
|
||||
- HERMIT_KVM="0"
|
||||
- HERMIT_VERBOSE="1"
|
||||
- HERMIT_APP_PORT=8000
|
||||
|
|
2
test.sh
2
test.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue