Mercurial > hg > audiodb
diff tests/0003/run-test.sh @ 48:a7aad4c50cb9
Factor out some common utilities and setup code into test-utils.sh, and
source that file within each run-test file.
author | mas01cr |
---|---|
date | Tue, 18 Sep 2007 09:24:52 +0000 |
parents | 1853beeb0521 |
children | f258a0258755 |
line wrap: on
line diff
--- a/tests/0003/run-test.sh Mon Sep 17 16:12:12 2007 +0000 +++ b/tests/0003/run-test.sh Tue Sep 18 09:24:52 2007 +0000 @@ -1,6 +1,6 @@ #! /bin/sh -trap "exit 1" ERR +. ../test-utils.sh if [ -f testdb ]; then rm -f testdb; fi @@ -11,7 +11,8 @@ # handling. # FIXME: endianness! -printf "\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x3f" > testfeature +intstring 1 > testfeature +floatstring 1 >> testfeature ${AUDIODB} -d testdb -I -f testfeature