From 3afa426ee1f8b3242a53fac31e9c1bcf32891241 Mon Sep 17 00:00:00 2001 From: Rishitha Kalicheti Date: Thu, 22 Jan 2026 17:32:26 -0500 Subject: [PATCH] fix - capturing incorrect rc of ./runit Signed-off-by: Rishitha Kalicheti --- tests/runtestcase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtestcase b/tests/runtestcase index 8a831b2157..20befe8a5e 100755 --- a/tests/runtestcase +++ b/tests/runtestcase @@ -420,7 +420,7 @@ source ${TESTSROOTDIR}/test-utils/inject_systables.sh inject_systables_in_expected_files testdb_note "test start" -timeout --kill-after=5s ${TEST_TIMEOUT} stdbuf -oL -eL bash -c "./runit ${DBNAME} 2>&1 | gawk '{ print strftime(\"%H:%M:%S>\"), \$0; fflush(); }'" &> ${TESTDIR}/logs/${DBNAME}.testcase +timeout --kill-after=5s ${TEST_TIMEOUT} stdbuf -oL -eL bash -c "set -o pipefail; ./runit ${DBNAME} 2>&1 | gawk '{ print strftime(\"%H:%M:%S>\"), \$0; fflush(); }'" &> ${TESTDIR}/logs/${DBNAME}.testcase rc=${PIPESTATUS[0]} testdb_note "test end"