diff tests/test-exclude1.sh @ 11855:e53ecd6bb7d0

exclude-tests: Handle Windows EOL.
author Simon Josefsson <simon@josefsson.org>
date Thu, 20 Aug 2009 15:21:27 +0200
parents 451cf730f520
children c2cbabec01dd
line wrap: on
line diff
--- a/tests/test-exclude1.sh
+++ b/tests/test-exclude1.sh
@@ -37,7 +37,9 @@
 bar/qux: 0
 EOT
 
-./test-exclude$EXEEXT $LIST -- foo 'foo*' bar foobar baz bar/qux | diff -c $TMP - || ERR=1
+./test-exclude$EXEEXT $LIST -- foo 'foo*' bar foobar baz bar/qux |
+ tr -d '\015' |
+ diff -c $TMP - || ERR=1
 
 rm -f $TMP $LIST
 exit $ERR