view tests/0001/run-test.sh @ 105:10feb98abebf

Miscellaneous small refactorings: * conditionalise signals code on O2_DEBUG; * move audioDB initializers to .h file; * reindent code according to One True Coding Standard; * query types live in a different namespace to DB flags; preserve all values (for binary compatibility) but make that clearer in the header file.
author mas01cr
date Fri, 05 Oct 2007 11:05:22 +0000
parents f258a0258755
children fe4dc39b2dd7
line wrap: on
line source
#! /bin/sh

. ../test-utils.sh

if [ -f testdb ]; then rm -f testdb; fi

# creation
${AUDIODB} -N -d testdb

stat testdb

# should fail (testdb exists)
expect_clean_error_exit ${AUDIODB} -N -d testdb

# should fail (no db given)
expect_clean_error_exit ${AUDIODB} -N

exit 104