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>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
  • Loading branch information
nickalcock authored and kvanhees committed Jul 27, 2022
1 parent 4bfeea9 commit fa86bcc
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 @@ -507,7 +507,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 fa86bcc

Please sign in to comment.