From: Karel Zak Date: Tue, 27 Aug 2019 12:38:21 +0000 (+0200) Subject: tests: don't show diff for TS_KNOWN_FAIL X-Git-Tag: v2.35-rc1~258 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71210f5babd0666494ac649374c47a0dd6db8546;p=thirdparty%2Futil-linux.git tests: don't show diff for TS_KNOWN_FAIL Signed-off-by: Karel Zak --- diff --git a/tests/functions.sh b/tests/functions.sh index 99af0e2895..0718a61474 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