diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-09 04:27:07 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-09 04:27:07 +0000 |
| commit | 35a06b90289aef0bcd5afc5917eb2e029aba37d9 (patch) | |
| tree | ecd432a4bdd73a295cf59ee6110e7a36ed921e1f /tests | |
| parent | 4c59d8930300d2df060967d9b4fba2334fb81d83 (diff) | |
| download | pandoc-35a06b90289aef0bcd5afc5917eb2e029aba37d9.tar.gz | |
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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/runtests.pl | 3 |
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"; |
