summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgfmt-2
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msgfmt-2')
-rwxr-xr-xgettext-tools/tests/msgfmt-26
1 files changed, 3 insertions, 3 deletions
diff --git a/gettext-tools/tests/msgfmt-2 b/gettext-tools/tests/msgfmt-2
index 8491178..a5b6202 100755
--- a/gettext-tools/tests/msgfmt-2
+++ b/gettext-tools/tests/msgfmt-2
@@ -58,7 +58,7 @@ EOF
# Without use of msgcat, expect a "duplicate message definition" error.
: ${MSGFMT=msgfmt}
-if ${MSGFMT} module1.po module2.po -o LC_MESSAGES/gen.mo 2> /dev/null; then
+if ${MSGFMT} -o LC_MESSAGES/gen.mo module1.po module2.po 2> /dev/null; then
rm -fr $tmpfiles
exit 1
fi
@@ -66,9 +66,9 @@ fi
# With msgcat, it should work.
tmpfiles="$tmpfiles modules.po"
: ${MSGCAT=msgcat} ${MSGFMT=msgfmt}
-${MSGCAT} --use-first module1.po module2.po -o modules.po
+${MSGCAT} --use-first -o modules.po module1.po module2.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-${MSGFMT} modules.po -o LC_MESSAGES/gen.mo
+${MSGFMT} -o LC_MESSAGES/gen.mo modules.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-test2.out"