summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgattrib-17
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-05-14 23:06:31 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:14:48 +0200
commitea6f5e58fccbdb7c52038b045ffd8334cbc9839e (patch)
treec10b9eb2d90e6ed4a88c718f5c21a27c3e6a294a /gettext-tools/tests/msgattrib-17
parent8cab443cf22ac7ca0c2158436ec55f275753a128 (diff)
downloadexternal_gettext-ea6f5e58fccbdb7c52038b045ffd8334cbc9839e.zip
external_gettext-ea6f5e58fccbdb7c52038b045ffd8334cbc9839e.tar.gz
external_gettext-ea6f5e58fccbdb7c52038b045ffd8334cbc9839e.tar.bz2
Convert CR/LF to LF.
Diffstat (limited to 'gettext-tools/tests/msgattrib-17')
-rwxr-xr-xgettext-tools/tests/msgattrib-176
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgattrib-17 b/gettext-tools/tests/msgattrib-17
index e258057..3d30aef 100755
--- a/gettext-tools/tests/msgattrib-17
+++ b/gettext-tools/tests/msgattrib-17
@@ -44,9 +44,11 @@ msgstr "Argumente fehlen."
#~ msgstr "%s: ungültige Option -- %c\n"
EOF
-tmpfiles="$tmpfiles ma-test17.out"
+tmpfiles="$tmpfiles ma-test17.tmp ma-test17.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-previous -o ma-test17.out ma-test17.po
+${MSGATTRIB} --clear-previous -o ma-test17.tmp ma-test17.po
+test $? = 0 || { rm -fr $tmpfiles; exit 1; }
+tr -d '\r' < ma-test17.tmp > ma-test17.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test17.ok"