diff options
Diffstat (limited to 'gettext-tools/tests/msgattrib-15')
-rwxr-xr-x | gettext-tools/tests/msgattrib-15 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgattrib-15 b/gettext-tools/tests/msgattrib-15 index c0eb80f..b0d59d6 100755 --- a/gettext-tools/tests/msgattrib-15 +++ b/gettext-tools/tests/msgattrib-15 @@ -51,9 +51,11 @@ msgstr "photocopieur" #~ msgstr "Enregistrer sous" EOF -tmpfiles="$tmpfiles ma-test15.out" +tmpfiles="$tmpfiles ma-test15.tmp ma-test15.out" : ${MSGATTRIB=msgattrib} -${MSGATTRIB} --clear-fuzzy -o ma-test15.out ma-test15.po +${MSGATTRIB} --clear-fuzzy -o ma-test15.tmp ma-test15.po +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < ma-test15.tmp > ma-test15.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } : ${DIFF=diff} |