Commit b41e1170 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

added test function handling core of execution and evaluation of out operator tests

parent 363009bd
function runTest #NTEST #CDOTEST CDOCOMMAND TESTCOMMAND
{
RSTAT=0
echo "Running test: $NTEST - $CDOTEST"
echo "$CDOCOMMAND"
$CDOCOMMAND
test $? -eq 0 || let RSTAT+=1
echo "$TESTCOMMAND"
$TESTCOMMAND
test $? -eq 0 || let RSTAT+=1
test $RSTAT -eq 0 && echo "ok $NTEST - $CDOTEST"
test $RSTAT -eq 0 || echo "not ok $NTEST - $CDOTEST"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment