Run usage, not really a test.
authorEmil Mikulic <emikulic@gmail.com>
Tue, 3 May 2011 10:14:10 +0000 (20:14 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Sun, 28 Apr 2013 10:57:09 +0000 (20:57 +1000)
devel/cover

index 445c1ea..46b67c8 100755 (executable)
@@ -18,8 +18,10 @@ if [ -e $DIR ]; then
 fi
 mkdir $DIR || exit 1
 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 &
-# generates darkhttpd.gcda
 PID=$!
 kill -0 $PID || exit 1
 python test.py