Commit 003ed654 authored by Niels Möller's avatar Niels Möller
Browse files

(test_program): Test the exit status of the

right process.

Rev: src/nettle/testsuite/run-tests:1.4
parent 0f82a2bb
......@@ -13,8 +13,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