Commit 88195b28 authored by Niels Möller's avatar Niels Möller
Browse files

(test_program): Bugfix: Test the exit

status of the right process.

Rev: src/testsuite/run-tests:1.3
parent 256fc928
......@@ -27,8 +27,8 @@ env_program () {
}
test_program () {
testname=`echo "$1" | sed -e 's,-test$,,' -e 's,^\./,,`
"$1"
testname=`echo "$1" | sed -e 's/-test//'`
case "$?" in
0)
echo PASS: $testname
......
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