# HG changeset patch # User mas01cr # Date 1190031202 0 # Node ID 08ae151398cbd2e09fe9bd9fd8f9c7b7f53ebd4c # Parent cb41fb97f7f3c3c587542d737d47586d522bbf26 Add status arg tests diff -r cb41fb97f7f3 -r 08ae151398cb tests/0002/run-test.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/0002/run-test.sh Mon Sep 17 12:13:22 2007 +0000 @@ -0,0 +1,17 @@ +#! /bin/sh + +trap "exit 1" ERR + +if [ -f testdb ]; then rm -f testdb; fi + +${AUDIODB} -N -d testdb + +# FIXME: at some point we will want to test that some relevant +# information is being printed +${AUDIODB} -S -d testdb +${AUDIODB} -d testdb -S + +# should fail (no db given) +${AUDIODB} -S && exit 1 + +exit 104