diff options
Diffstat (limited to 'gettext-tools/tests/msgcat-properties-1')
-rwxr-xr-x | gettext-tools/tests/msgcat-properties-1 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gettext-tools/tests/msgcat-properties-1 b/gettext-tools/tests/msgcat-properties-1 index e22ce0a..931bec5 100755 --- a/gettext-tools/tests/msgcat-properties-1 +++ b/gettext-tools/tests/msgcat-properties-1 @@ -18,12 +18,14 @@ cat <<\EOF > mcat-p-1.in2 Congratulations\!=Herzlichen Gl\u00fcckwunsch\! EOF -tmpfiles="$tmpfiles mcat-p-1.out" -rm -f mcat-p-1.out +tmpfiles="$tmpfiles mcat-p-1.tmp mcat-p-1.out" +rm -f mcat-p-1.tmp : ${MSGCAT=msgcat} ${MSGCAT} --use-first --more-than=0 --properties-input --properties-output \ - -o mcat-p-1.out mcat-p-1.in1 mcat-p-1.in2 + -o mcat-p-1.tmp mcat-p-1.in1 mcat-p-1.in2 +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < mcat-p-1.tmp > mcat-p-1.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mcat-p-1.ok" |