view tests/0001/run-test.sh @ 393:fd9b65e5ca95 api-inversion

There can be only one (again). I think I see how it arose, but there's in fact no need to have two separate status structures ("struct adbstatus" and "struct cppstatus"). Delete "struct cppstatus" and simplify audioDB::status accordingly.
author mas01cr
date Tue, 25 Nov 2008 16:40:59 +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