Mercurial > hg > octave-lyh > gnulib-hg
changeset 11491:c1ccb2a194ba
Avoid test failure on mingw.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 21 Apr 2009 03:43:01 +0200 |
parents | bf2069bddde3 |
children | 3bc886cdc68c |
files | ChangeLog tests/uniwidth/test-uc_width2.sh |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-20 Bruno Haible <bruno@clisp.org> + + Avoid test failure on mingw. + * tests/uniwidth/test-uc_width2.sh: Convert newlines in output. + 2009-04-20 Bruno Haible <bruno@clisp.org> Avoid compilation error on mingw.
--- a/tests/uniwidth/test-uc_width2.sh +++ b/tests/uniwidth/test-uc_width2.sh @@ -4,7 +4,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15 tmpfiles="$tmpfiles uc_width.out" -./test-uc_width2${EXEEXT} > uc_width.out +./test-uc_width2${EXEEXT} | LC_ALL=C tr -d '\r' > uc_width.out tmpfiles="$tmpfiles uc_width.ok" cat > uc_width.ok <<\EOF