view tests/0026/run-test.sh @ 570:d1456b3f490a

test for command-line binary no-argument behaviour
author mas01cr
date Fri, 03 Jul 2009 15:00:28 +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