aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/runtests.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 754b6e75e..c14844b07 100644
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -23,7 +23,8 @@ sub test_results
my $testname = $_[0];
my $output = $_[1];
my $norm = $_[2];
- my $diffoutput = `diff --strip-trailing-cr $output $norm`;
+ $output =~ s/\r$//;
+ my $diffoutput = `diff $output $norm`;
if ($diffoutput eq "")
{
print "PASSED\n";