view tests/0001/run-test.sh @ 278:d9dba57becd4 sampling

Use the GNU Scientific Library implementation of MT19937 for generating random numbers. Answer is sufficiently similar to that from random() on Linux that I believe I've translated things right.
author mas01cr
date Tue, 01 Jul 2008 22:17:33 +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