From 3bb5d4bbc440ee9637dd487ea6aaf902d7cacf2a Mon Sep 17 00:00:00 2001 From: Haojian Zhuang Date: Thu, 17 Aug 2023 17:56:55 +0800 Subject: [PATCH 15/26] sanity_test: fix to show messages from testcase The messages should not be muted. Signed-off-by: Haojian Zhuang --- test/sanity_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity_test.sh b/test/sanity_test.sh index dd8ed18..6e763da 100755 --- a/test/sanity_test.sh +++ b/test/sanity_test.sh @@ -65,7 +65,7 @@ run_cmd() if [ -z ${VALGRIND} ]; then # "|| exit_code=$?" is used to capature the return value. # It could prevent bash to stop scripts when error occurs. - $@ &> /dev/null || exit_code=$? + $@ || exit_code=$? else ${VALGRIND} $@ fi -- 2.25.1