mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Merge dev branch code named Fossa as next stable Mongoose
This commit is contained in:
1 parent
28eb251ccd
commit
8927c9d22b
126 files changed
+162049
-8502
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
PROG=$1
|
||||
PORT=8002
|
||||
|
||||
cleanup() {
|
||||
kill -9 $PID >/dev/null 2>&1
|
||||
}
|
||||
|
||||
#set -x
|
||||
trap cleanup EXIT
|
||||
|
||||
cleanup
|
||||
$PROG -p $PORT -b /api/ 127.0.0.1:8000 &
|
||||
PID=$!
|
||||
|
||||
# Perform api_server unit test through the load balancer by passing
|
||||
# load balancer port to the unit test script
|
||||
(cd ../api_server && make && sh unit_test.sh ./api_server $PORT)
|
||||
|
||||
exit $?
|
||||
Reference in new issue
Block a user