Check one and only one of start, stop are given.
[oweals/busybox.git] / testsuite / runtest
index 8fb92e696dd9256191614ab66819d1a6fc03d22e..2cf85f5d8ee48cdb7f597c35ff25388876f71d07 100755 (executable)
@@ -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