view tests/0001/run-test.sh @ 41:cb41fb97f7f3

Make run-tests work with more than one test directory
author mas01cr
date Mon, 17 Sep 2007 12:12:30 +0000
parents 1a4975d743a9
children a7aad4c50cb9
line wrap: on
line source
#! /bin/sh

trap "exit 1" ERR

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