mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Run usage, not really a test.
This commit is contained in:
parent
c0c9692799
commit
34ad70cc45
@ -18,8 +18,10 @@ if [ -e $DIR ]; then
|
|||||||
fi
|
fi
|
||||||
mkdir $DIR || exit 1
|
mkdir $DIR || exit 1
|
||||||
rm -f darkhttpd.gcda darkhttpd.log
|
rm -f darkhttpd.gcda darkhttpd.log
|
||||||
|
# display usage statement
|
||||||
|
./a.out >/dev/null
|
||||||
|
# run all tests against this instance (generates darkhttpd.gcda)
|
||||||
./a.out $DIR --port $PORT --log darkhttpd.log &
|
./a.out $DIR --port $PORT --log darkhttpd.log &
|
||||||
# generates darkhttpd.gcda
|
|
||||||
PID=$!
|
PID=$!
|
||||||
kill -0 $PID || exit 1
|
kill -0 $PID || exit 1
|
||||||
python test.py
|
python test.py
|
||||||
|
Loading…
Reference in New Issue
Block a user