From: Daiki Ueno Date: Thu, 25 Jun 2015 03:19:20 +0000 (+0900) Subject: tests: Remove garbage added for debugging X-Git-Tag: v0.19.5~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc18817b6a6731fa3b588eaaaa4782fa5b8d967;p=thirdparty%2Fgettext.git tests: Remove garbage added for debugging --- diff --git a/gettext-tools/tests/xgettext-c-19 b/gettext-tools/tests/xgettext-c-19 index 09a227a70..674af4fe9 100755 --- a/gettext-tools/tests/xgettext-c-19 +++ b/gettext-tools/tests/xgettext-c-19 @@ -33,7 +33,7 @@ iconv -f UTF-8 -t EUC-JP < xg-c-19.in.c > xg-c-19.c \ ${XGETTEXT} --from-code=EUC-JP --add-comments --no-location --no-wrap \ -o - xg-c-19.c | grep -v 'POT-Creation-Date' > xg-c-19.tmp.po \ - || { cp core* ..; exit 1; } + || exit 1 LC_ALL=C tr -d '\r' < xg-c-19.tmp.po > xg-c-19.po || exit 1 cat <<\EOF > xg-c-19.ok diff --git a/gettext-tools/tests/xgettext-c-20 b/gettext-tools/tests/xgettext-c-20 index 621663cb7..283f8d034 100755 --- a/gettext-tools/tests/xgettext-c-20 +++ b/gettext-tools/tests/xgettext-c-20 @@ -80,7 +80,7 @@ EOF ${XGETTEXT} --add-comments --no-location --no-wrap \ -o - xg-c-20.cc | grep -v 'POT-Creation-Date' > xg-c-20.tmp.po \ - || { cp core* ..; exit 1; } + || exit 1 LC_ALL=C tr -d '\r' < xg-c-20.tmp.po > xg-c-20.po || exit 1 cat <<\EOF > xg-c-20.ok @@ -135,7 +135,7 @@ EOF ${XGETTEXT} --add-comments --no-location --no-wrap \ -o - xg-c-20.c | grep -v 'POT-Creation-Date' > xg-c-20c.tmp.po \ - || { cp core* ..; exit 1; } + || exit 1 LC_ALL=C tr -d '\r' < xg-c-20c.tmp.po > xg-c-20c.po || exit 1 cat <<\EOF > xg-c-20c.ok