diff --git a/tests/bin/test_run b/tests/bin/test_run index 4fb87b7d..6864fa1f 100755 --- a/tests/bin/test_run +++ b/tests/bin/test_run @@ -76,7 +76,7 @@ t_detail "OUTPUT" "" >>"$LOGFILE" # Run command $TIME bash -c "$INVOKE_COVER $SCRIPT $OPTS" 2>&1 | t_indent >>"$LOGFILE" -RC=$? +RC=${PIPESTATUS[0]} # Evaluate output of time command ELAPSED= diff --git a/tests/lcov/misc/help.sh b/tests/lcov/misc/help.sh index ff457ae7..29ce54d4 100755 --- a/tests/lcov/misc/help.sh +++ b/tests/lcov/misc/help.sh @@ -5,7 +5,7 @@ # Test lcov --help # -source ../../common.mak +source ../../common.tst STDOUT=help_stdout.log STDERR=help_stderr.log