changeset 40:1a4975d743a9

Fix shebang line; add minor comments.
author mas01cr
date Mon, 17 Sep 2007 12:12:10 +0000
parents 108bd28a8ede
children cb41fb97f7f3
files tests/0001/run-test.sh
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/0001/run-test.sh	Mon Sep 17 11:59:02 2007 +0000
+++ b/tests/0001/run-test.sh	Mon Sep 17 12:12:10 2007 +0000
@@ -1,4 +1,4 @@
-# /bin/sh
+#! /bin/sh
 
 trap "exit 1" ERR
 
@@ -9,7 +9,10 @@
 
 stat testdb
 
-# should fail
+# should fail (testdb exists)
 ${AUDIODB} -N -d testdb && exit 1
 
+# should fail (no db given)
+${AUDIODB} -N && exit 1
+
 exit 104