view tests/0026/run-test.sh @ 338:cdb31e8b94e3

fixed startServer() reporting of non-locatable database or index. Achieved by setting isServer=1 AFTER checking database and loading INDEX.
author mas01mc
date Fri, 05 Sep 2008 16:40:41 +0000
parents fe4dc39b2dd7
children
line wrap: on
line source
#! /bin/bash

. ../test-utils.sh

if [ -f testdb ]; then rm -f testdb; fi

${AUDIODB} -N -d testdb

${AUDIODB} -P -d testdb
${AUDIODB} -d testdb -P

# should fail (no db given)
expect_clean_error_exit ${AUDIODB} -P

exit 104