tests: don't show diff for TS_KNOWN_FAIL

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-08-27 14:38:21 +02:00
parent 751fae0d96
commit 71210f5bab
1 changed files with 1 additions and 1 deletions

View File

@ -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