diff options
-rw-r--r-- | tests/runtests.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 6292f4962..754b6e75e 100644 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -23,8 +23,7 @@ sub test_results my $testname = $_[0]; my $output = $_[1]; my $norm = $_[2]; - $output =~ s/\r$//; # remove DOS line endings if present - my $diffoutput = `diff $output $norm`; + my $diffoutput = `diff --strip-trailing-cr $output $norm`; if ($diffoutput eq "") { print "PASSED\n"; |