view tests/0001/run-test.sh @ 38:7cc3d6027458

First test case.
author mas01cr
date Mon, 17 Sep 2007 11:37:46 +0000
parents
children 108bd28a8ede
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
../../audioDB -N -d testdb && exit 1

exit 104