Mercurial > hg > audiodb
view tests/0001/run-test.sh @ 552:1ff30df0aeac multiprobeLSH
Improve the behaviour of the RDF example a little bit.
Automatically create the database if it doesn't exist yet.
Write a little explanatory comment about how we could be cleverer.
author | mas01cr |
---|---|
date | Fri, 13 Feb 2009 11:01:35 +0000 |
parents | fe4dc39b2dd7 |
children |
line wrap: on
line source
#! /bin/bash . ../test-utils.sh if [ -f testdb ]; then rm -f testdb; fi # creation ${AUDIODB} -N -d testdb stat testdb # should fail (testdb exists) expect_clean_error_exit ${AUDIODB} -N -d testdb # should fail (no db given) expect_clean_error_exit ${AUDIODB} -N exit 104