aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorGravatar Matt Kraai <kraai@debian.org>2002-03-27 17:33:31 +0000
committerGravatar Matt Kraai <kraai@debian.org>2002-03-27 17:33:31 +0000
commit35d60421b4f61de9f5ed39c3057555e6f64d75a7 (patch)
treead554d952f655865164e931e9648826a07882e91 /testsuite
parent9cdb0601eb53ffdb3fb6b94bb1336adbc7d59e5c (diff)
downloadbusybox-35d60421b4f61de9f5ed39c3057555e6f64d75a7.tar.gz
busybox-35d60421b4f61de9f5ed39c3057555e6f64d75a7.tar.bz2
* testsuite/runtest (run_applet_testcase): Return test case status, not
process ID.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/runtest4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/runtest b/testsuite/runtest
index 8fb92e696..2cf85f5d8 100755
--- a/testsuite/runtest
+++ b/testsuite/runtest
@@ -53,10 +53,10 @@ run_applet_testcase ()
if . ../$testcase >/dev/null 2>&1; then
show_result ${X}PASS $testname
- status=$!
+ status=$?
else
show_result ${X}FAIL $testname
- status=$!
+ status=$?
fi
popd >/dev/null