view tests/0001/run-test.sh @ 48:a7aad4c50cb9

Factor out some common utilities and setup code into test-utils.sh, and source that file within each run-test file.
author mas01cr
date Tue, 18 Sep 2007 09:24:52 +0000
parents 1a4975d743a9
children f258a0258755
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)
${AUDIODB} -N -d testdb && exit 1

# should fail (no db given)
${AUDIODB} -N && exit 1

exit 104