From: Simon Josefsson Date: Thu, 20 Aug 2009 13:21:27 +0000 (+0200) Subject: exclude-tests: Handle Windows EOL. X-Git-Tag: v0.1~5632 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=23d025fefa14a3815f8b804725acfd5622d3a4ac;p=gnulib.git exclude-tests: Handle Windows EOL. --- diff --git a/ChangeLog b/ChangeLog index b89a48315..d50fcb087 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-08-20 Simon Josefsson + + * tests/test-exclude1.sh: Handle Windows EOL. + * tests/test-exclude2.sh: Likewise. + * tests/test-exclude3.sh: Likewise. + * tests/test-exclude4.sh: Likewise. + * tests/test-exclude5.sh: Likewise. + * tests/test-exclude6.sh: Likewise. + * tests/test-exclude7.sh: Likewise. + 2009-08-19 Akim Demaille bootstrap: find sha1sum when named gsha1sum. diff --git a/tests/test-exclude1.sh b/tests/test-exclude1.sh index 9b9d3a15c..ee1a148f2 100755 --- a/tests/test-exclude1.sh +++ b/tests/test-exclude1.sh @@ -37,7 +37,9 @@ baz: 0 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 diff --git a/tests/test-exclude2.sh b/tests/test-exclude2.sh index 37cef7196..62228262d 100755 --- a/tests/test-exclude2.sh +++ b/tests/test-exclude2.sh @@ -37,7 +37,9 @@ baz: 1 bar/qux: 0 EOT -./test-exclude$EXEEXT -casefold $LIST -- foo 'foo*' bar foobar baz bar/qux| diff -c $TMP - || ERR=1 +./test-exclude$EXEEXT -casefold $LIST -- foo 'foo*' bar foobar baz bar/qux | + tr -d '\015' | + diff -c $TMP - || ERR=1 rm -f $TMP $LIST exit $ERR diff --git a/tests/test-exclude3.sh b/tests/test-exclude3.sh index dad433cba..2cbd106ad 100755 --- a/tests/test-exclude3.sh +++ b/tests/test-exclude3.sh @@ -37,7 +37,9 @@ baz: 1 bar/qux: 1 EOT -./test-exclude$EXEEXT -include $LIST -- foo 'foo*' bar foobar baz bar/qux| diff -c $TMP - || ERR=1 +./test-exclude$EXEEXT -include $LIST -- foo 'foo*' bar foobar baz bar/qux | + tr -d '\015' | + diff -c $TMP - || ERR=1 rm -f $TMP $LIST exit $ERR diff --git a/tests/test-exclude4.sh b/tests/test-exclude4.sh index cc0e06421..b818a09e1 100755 --- a/tests/test-exclude4.sh +++ b/tests/test-exclude4.sh @@ -32,7 +32,9 @@ cat > $TMP <$TMP.1 -./test-exclude$EXEEXT -include $LIST -no-include $LIST -- bar >>$TMP.1 +./test-exclude$EXEEXT $LIST -include $LIST -- bar | + tr -d '\015' >$TMP.1 +./test-exclude$EXEEXT -include $LIST -no-include $LIST -- bar | + tr -d '\015' >>$TMP.1 diff -c $TMP $TMP.1 || ERR=1