annotate tests/0001/run-test.sh @ 51:f76b4182ecc8

Add tests for sequence search. They don't work with the code as it currently stands, but I have a local fix.
author mas01cr
date Wed, 19 Sep 2007 15:07:38 +0000
parents a7aad4c50cb9
children f258a0258755
rev   line source
mas01cr@40 1 #! /bin/sh
mas01cr@38 2
mas01cr@48 3 . ../test-utils.sh
mas01cr@38 4
mas01cr@38 5 if [ -f testdb ]; then rm -f testdb; fi
mas01cr@38 6
mas01cr@38 7 # creation
mas01cr@39 8 ${AUDIODB} -N -d testdb
mas01cr@38 9
mas01cr@38 10 stat testdb
mas01cr@38 11
mas01cr@40 12 # should fail (testdb exists)
mas01cr@39 13 ${AUDIODB} -N -d testdb && exit 1
mas01cr@38 14
mas01cr@40 15 # should fail (no db given)
mas01cr@40 16 ${AUDIODB} -N && exit 1
mas01cr@40 17
mas01cr@39 18 exit 104