view libtests/0010/run-test.sh @ 369:6564be3109c5 gcc-4.3-cleanups

gcc-4.3 warning cleanups for lshlib.cpp (I do not believe that any of these changes contain significant copyrightable "intellectual property". However, to the extent that they do, the changes are hereby released into the Public Domain, and may be therefore be used by anyone for any purpose without need for consideration of any kind.)
author mas01cr
date Wed, 12 Nov 2008 15:23:32 +0000
parents 94c18f128ce8
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

LD_LIBRARY_PATH=../..
export LD_LIBRARY_PATH

. ../test-utils.sh

make clean
make all

./test1 

exit_code=$?

if [ $exit_code -eq 0 ]; then
    exit 104
else
    exit -1
fi