test: ignore \r when diffing
This commit is contained in:
parent
897f277a3e
commit
1e6faf3f28
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ function exec_check {
|
|||
|
||||
function diff_produced {
|
||||
if test -f "$f.expected.out"; then
|
||||
if $DIFF -au -I "executing external script" "$f.expected.out" "$f.produced.out"; then
|
||||
if $DIFF -au --strip-trailing-cr -I "executing external script" "$f.expected.out" "$f.produced.out"; then
|
||||
exit 0
|
||||
else
|
||||
echo "ERROR: file $f.produced.out does not match $f.expected.out"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue