1#! /bin/sh 2 3SRCDIR=`dirname "$0"` 4. "$SRCDIR/testutils.sh" 5 6verbose_run $VALGRIND "$DTC" -o/dev/null "$@" 7ret="$?" 8 9if [ "$ret" -gt 127 ]; then 10 FAIL "dtc killed by signal (ret=$ret)" 11elif [ "$ret" != "1" ]; then 12 FAIL "dtc returned incorrect status $ret instead of 1" 13fi 14 15PASS 16