Skip to content

Commit

Permalink
tests: always check expected results as text, not binary
Browse files Browse the repository at this point in the history
Even if we get \0 in results, we want to see the output, not helpful
"binary files differ" messages.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
  • Loading branch information
nickalcock committed Mar 1, 2022
1 parent 3390b18 commit 6008d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ resultslog()
elif [[ -n $want_expected_diff ]]; then
log "Diff against expected:\n"

diff -u $rfile $tmpdir/test.out | tee -a $LOGFILE >> $SUMFILE
diff -au $rfile $tmpdir/test.out | tee -a $LOGFILE >> $SUMFILE
fi
fi

Expand Down

0 comments on commit 6008d21

Please sign in to comment.