Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ env_program () { ...@@ -13,8 +13,8 @@ env_program () {
} }
test_program () { test_program () {
testname=`echo "$1" | sed -e 's,-test$,,' -e 's,^\./,,`
"./$1" "./$1"
testname=`echo "$1" | sed -e 's/-test//'`
case "$?" in case "$?" in
0) 0)
echo PASS: $testname echo PASS: $testname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment