Don't log to stdout when testing.

This commit is contained in:
Emil Mikulic 2011-04-16 19:15:32 +10:00
parent 5ebb93d253
commit b7038c8329

View File

@ -17,8 +17,8 @@ if [ -e $DIR ]; then
rm -rf $DIR || exit 1
fi
mkdir $DIR || exit 1
rm -f darkhttpd.gcda
./a.out $DIR --port $PORT &
rm -f darkhttpd.gcda darkhttpd.log
./a.out $DIR --port $PORT --log darkhttpd.log &
# generates darkhttpd.gcda
PID=$!
kill -0 $PID || exit 1