summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msguniq-3
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msguniq-3')
-rwxr-xr-xgettext-tools/tests/msguniq-36
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msguniq-3 b/gettext-tools/tests/msguniq-3
index 8a6567f..4ea6300 100755
--- a/gettext-tools/tests/msguniq-3
+++ b/gettext-tools/tests/msguniq-3
@@ -5,9 +5,11 @@
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15
-tmpfiles="$tmpfiles msguniq-3.out"
+tmpfiles="$tmpfiles msguniq-3.tmp msguniq-3.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -d -o msguniq-3.out ${top_srcdir}/tests/msguniq-a.in
+${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp ${top_srcdir}/tests/msguniq-a.in
+test $? = 0 || { rm -fr $tmpfiles; exit 1; }
+tr -d '\r' < msguniq-3.tmp > msguniq-3.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles msguniq-3.ok"