run_test() { # testfile
local testname=`basename $1`
local testlog=`mktemp $LOG_DIR/${testname}-log.XXXXXX`
run_test() { # testfile
local testname=`basename $1`
local testlog=`mktemp $LOG_DIR/${testname}-log.XXXXXX`
+ export TMPDIR=`mktemp -d /tmp/ftracetest-dir.XXXXXX`
testcase $1
echo "execute: "$1 > $testlog
SIG_RESULT=0
testcase $1
echo "execute: "$1 > $testlog
SIG_RESULT=0
[ $BE_QUIET -eq 0 ] && catlog $testlog
TOTAL_RESULT=1
fi
[ $BE_QUIET -eq 0 ] && catlog $testlog
TOTAL_RESULT=1
fi
}
# load in the helper functions
}
# load in the helper functions