git.iko.soy/typeable/pandoc
on master help sign in
Replaced diff --strip-trailing-cr with something more portable

in runtests.pl. (This is a GNU option.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@471 788f1e2b-df1e-0410-8736-df70ead52e1b

commit35a06b90289aef0bcd5afc5917eb2e029aba37d9 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateTue 9 Jan 2007, 04:27 (20 years ago) parent4c59d89
1 file changed+2−1
tests/runtests.pl+2−1
tests/runtests.pl+2−1
@@ -23,7 +23,8 @@ sub test_results
2323 my $testname = $_[0];
2424 my $output = $_[1];
2525 my $norm = $_[2];
26− my $diffoutput = `diff --strip-trailing-cr $output $norm`;
26+ $output =~ s/\r$//;
27+ my $diffoutput = `diff $output $norm`;
2728 if ($diffoutput eq "")
2829 {
2930 print "PASSED\n";