mas01cr@40: #! /bin/sh mas01cr@38: mas01cr@48: . ../test-utils.sh mas01cr@38: mas01cr@38: if [ -f testdb ]; then rm -f testdb; fi mas01cr@38: mas01cr@38: # creation mas01cr@39: ${AUDIODB} -N -d testdb mas01cr@38: mas01cr@38: stat testdb mas01cr@38: mas01cr@40: # should fail (testdb exists) mas01cr@39: ${AUDIODB} -N -d testdb && exit 1 mas01cr@38: mas01cr@40: # should fail (no db given) mas01cr@40: ${AUDIODB} -N && exit 1 mas01cr@40: mas01cr@39: exit 104