From: Niels Möller Date: Wed, 20 Mar 2002 12:57:29 +0000 (+0100) Subject: (test_program): Test the exit status of the X-Git-Tag: nettle_1.6_release_20021003~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003ed65461987cd00f23cc2595a3c34f182d1eb0;p=thirdparty%2Fnettle.git (test_program): Test the exit status of the right process. Rev: src/nettle/testsuite/run-tests:1.4 --- diff --git a/testsuite/run-tests b/testsuite/run-tests index 498e98a7..c3552cb8 100755 --- a/testsuite/run-tests +++ b/testsuite/run-tests @@ -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