view tests/0001/run-test.sh @ 343:fdeb8db97678

added portable C++ reinterpret_cast<Uns32T> instead of C-style cast to fix 64-bit compile error in query.cpp. This is in advance of re-writing bucket class to include a union{} of pointer and counter fields.
author mas01mc
date Tue, 07 Oct 2008 20:08:22 +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