Mercurial > hg > audiodb
view tests/0026/run-test.sh @ 252:fe4dc39b2dd7
Perform the incredibly tedious job of making the tests bash scripts,
rather than shell scripts.
This seems easier than emulating all the useful error-handling features
that bash provides in POSIX functionality as provided by dash(1).
author | mas01cr |
---|---|
date | Mon, 31 Mar 2008 13:02:26 +0000 |
parents | f9d16137e704 |
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