mas01ik@355: #! /bin/bash mas01ik@355: mas01ik@355: #. ../test-utils.sh mas01ik@355: # mas01ik@355: #if [ -f testdb ]; then rm -f testdb; fi mas01ik@355: # mas01ik@355: ## creation mas01ik@355: #${AUDIODB} -N -d testdb mas01ik@355: # mas01ik@355: #stat testdb mas01ik@355: # mas01ik@355: ## should fail (testdb exists) mas01ik@355: #expect_clean_error_exit ${AUDIODB} -N -d testdb mas01ik@355: # mas01ik@355: ## should fail (no db given) mas01ik@355: #expect_clean_error_exit ${AUDIODB} -N mas01ik@355: # mas01ik@355: #exit 104 mas01ik@355: mas01ik@355: LD_LIBRARY_PATH=../.. mas01ik@355: export LD_LIBRARY_PATH mas01ik@355: mas01ik@355: . ../test-utils.sh mas01ik@355: mas01ik@355: make clean mas01ik@355: make all mas01ik@355: mas01ik@355: ./test1 mas01ik@355: mas01ik@355: exit_code=$? mas01ik@355: mas01ik@355: if [ $exit_code -eq 0 ]; then mas01ik@355: exit 104 mas01ik@355: else mas01ik@355: exit -1 mas01ik@355: fi