Skip to content

Commit

Permalink
Treat all files as text with GNU diff in test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Apr 10, 2021
1 parent 857bd55 commit ec89e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ for TESTFILE; do
fi

# Compare the expected outcome against the actual outcome.
diff -c "$BUILDDIR"/test-expected.log "$BUILDDIR"/test-actual.log # ||
diff -a -c "$BUILDDIR"/test-expected.log "$BUILDDIR"/test-actual.log # ||
# (sed -n '1,/^\s*>>>\s*$/p' <"${TESTFILE##*/}" &&
# cat test-actual.log) >"$OLDPWD"/"$TESTFILE"

Expand Down

0 comments on commit ec89e6d

Please sign in to comment.