From 71210f5babd0666494ac649374c47a0dd6db8546 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 27 Aug 2019 14:38:21 +0200 Subject: [PATCH] tests: don't show diff for TS_KNOWN_FAIL Signed-off-by: Karel Zak --- tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functions.sh b/tests/functions.sh index 99af0e289..0718a6147 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -481,7 +481,7 @@ function ts_gen_diff { if [ $? -ne 0 ] || [ -s $TS_DIFF ]; then res=1 - if [ "$TS_SHOWDIFF" == "yes" ]; then + if [ "$TS_SHOWDIFF" == "yes" -a "$TS_KNOWN_FAIL" != "yes" ]; then echo echo "diff-{{{" cat $TS_DIFF