changeset 159:c47839762aa8 powertable

Power command-line handling
author mas01cr
date Thu, 01 Nov 2007 15:22:29 +0000
parents 9ec0f27e07b9
children 94502600a049
files tests/0026/run-test.sh tests/0026/short-description
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/0026/run-test.sh	Thu Nov 01 15:22:29 2007 +0000
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+. ../test-utils.sh
+
+if [ -f testdb ]; then rm -f testdb; fi
+
+${AUDIODB} -N -d testdb
+
+${AUDIODB} -P -d testdb
+${AUDIODB} -d testdb -P
+
+# should fail (no db given)
+expect_clean_error_exit ${AUDIODB} -P
+
+exit 104
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/0026/short-description	Thu Nov 01 15:22:29 2007 +0000
@@ -0,0 +1,1 @@
+command-line -P handling
\ No newline at end of file