summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-11-22 11:53:25 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:56 +0200
commitac5efe36bd8a4b2ef3e05c6659302cb0b4b74405 (patch)
treeeadbf54abeee70cfaffc6b5a502db2fc175511e4
parente042cd3cce6882a0dfbb36611103bb8e435abdd1 (diff)
downloadexternal_gettext-ac5efe36bd8a4b2ef3e05c6659302cb0b4b74405.zip
external_gettext-ac5efe36bd8a4b2ef3e05c6659302cb0b4b74405.tar.gz
external_gettext-ac5efe36bd8a4b2ef3e05c6659302cb0b4b74405.tar.bz2
When the tests work in a pure POSIX environment.
-rw-r--r--gettext-tools/tests/ChangeLog125
-rwxr-xr-xgettext-tools/tests/format-c-32
-rwxr-xr-xgettext-tools/tests/format-c-42
-rwxr-xr-xgettext-tools/tests/format-c-52
-rwxr-xr-xgettext-tools/tests/msgattrib-12
-rwxr-xr-xgettext-tools/tests/msgattrib-102
-rwxr-xr-xgettext-tools/tests/msgattrib-112
-rwxr-xr-xgettext-tools/tests/msgattrib-122
-rwxr-xr-xgettext-tools/tests/msgattrib-132
-rwxr-xr-xgettext-tools/tests/msgattrib-142
-rwxr-xr-xgettext-tools/tests/msgattrib-152
-rwxr-xr-xgettext-tools/tests/msgattrib-22
-rwxr-xr-xgettext-tools/tests/msgattrib-32
-rwxr-xr-xgettext-tools/tests/msgattrib-42
-rwxr-xr-xgettext-tools/tests/msgattrib-52
-rwxr-xr-xgettext-tools/tests/msgattrib-62
-rwxr-xr-xgettext-tools/tests/msgattrib-72
-rwxr-xr-xgettext-tools/tests/msgattrib-82
-rwxr-xr-xgettext-tools/tests/msgattrib-92
-rwxr-xr-xgettext-tools/tests/msgattrib-properties-12
-rwxr-xr-xgettext-tools/tests/msgcat-12
-rwxr-xr-xgettext-tools/tests/msgcat-112
-rwxr-xr-xgettext-tools/tests/msgcat-properties-12
-rwxr-xr-xgettext-tools/tests/msgcat-properties-22
-rwxr-xr-xgettext-tools/tests/msgcat-stringtable-12
-rwxr-xr-xgettext-tools/tests/msgcomm-175
-rwxr-xr-xgettext-tools/tests/msgcomm-182
-rwxr-xr-xgettext-tools/tests/msgcomm-192
-rwxr-xr-xgettext-tools/tests/msgcomm-212
-rwxr-xr-xgettext-tools/tests/msgcomm-232
-rwxr-xr-xgettext-tools/tests/msgconv-12
-rwxr-xr-xgettext-tools/tests/msgconv-22
-rwxr-xr-xgettext-tools/tests/msgconv-42
-rwxr-xr-xgettext-tools/tests/msgconv-52
-rwxr-xr-xgettext-tools/tests/msgen-12
-rwxr-xr-xgettext-tools/tests/msgen-22
-rwxr-xr-xgettext-tools/tests/msgen-32
-rwxr-xr-xgettext-tools/tests/msgfmt-16
-rwxr-xr-xgettext-tools/tests/msgfmt-104
-rwxr-xr-xgettext-tools/tests/msgfmt-122
-rwxr-xr-xgettext-tools/tests/msgfmt-142
-rwxr-xr-xgettext-tools/tests/msgfmt-158
-rwxr-xr-xgettext-tools/tests/msgfmt-26
-rwxr-xr-xgettext-tools/tests/msgfmt-32
-rwxr-xr-xgettext-tools/tests/msgfmt-42
-rwxr-xr-xgettext-tools/tests/msgfmt-54
-rwxr-xr-xgettext-tools/tests/msgfmt-properties-16
-rwxr-xr-xgettext-tools/tests/msgfmt-qt-12
-rwxr-xr-xgettext-tools/tests/msggrep-12
-rwxr-xr-xgettext-tools/tests/msggrep-22
-rwxr-xr-xgettext-tools/tests/msggrep-32
-rwxr-xr-xgettext-tools/tests/msggrep-42
-rwxr-xr-xgettext-tools/tests/msggrep-52
-rwxr-xr-xgettext-tools/tests/msggrep-62
-rwxr-xr-xgettext-tools/tests/msggrep-72
-rwxr-xr-xgettext-tools/tests/msgmerge-12
-rwxr-xr-xgettext-tools/tests/msgmerge-102
-rwxr-xr-xgettext-tools/tests/msgmerge-112
-rwxr-xr-xgettext-tools/tests/msgmerge-122
-rwxr-xr-xgettext-tools/tests/msgmerge-132
-rwxr-xr-xgettext-tools/tests/msgmerge-142
-rwxr-xr-xgettext-tools/tests/msgmerge-152
-rwxr-xr-xgettext-tools/tests/msgmerge-162
-rwxr-xr-xgettext-tools/tests/msgmerge-172
-rwxr-xr-xgettext-tools/tests/msgmerge-182
-rwxr-xr-xgettext-tools/tests/msgmerge-22
-rwxr-xr-xgettext-tools/tests/msgmerge-32
-rwxr-xr-xgettext-tools/tests/msgmerge-42
-rwxr-xr-xgettext-tools/tests/msgmerge-52
-rwxr-xr-xgettext-tools/tests/msgmerge-62
-rwxr-xr-xgettext-tools/tests/msgmerge-72
-rwxr-xr-xgettext-tools/tests/msgmerge-82
-rwxr-xr-xgettext-tools/tests/msgmerge-92
-rwxr-xr-xgettext-tools/tests/msgmerge-compendium-12
-rwxr-xr-xgettext-tools/tests/msgmerge-compendium-22
-rwxr-xr-xgettext-tools/tests/msgmerge-compendium-32
-rwxr-xr-xgettext-tools/tests/msgmerge-compendium-42
-rwxr-xr-xgettext-tools/tests/msgmerge-properties-12
-rwxr-xr-xgettext-tools/tests/msgunfmt-14
-rwxr-xr-xgettext-tools/tests/msgunfmt-csharp-12
-rwxr-xr-xgettext-tools/tests/msgunfmt-java-12
-rwxr-xr-xgettext-tools/tests/msgunfmt-properties-14
-rwxr-xr-xgettext-tools/tests/msguniq-12
-rwxr-xr-xgettext-tools/tests/msguniq-22
-rwxr-xr-xgettext-tools/tests/msguniq-32
-rwxr-xr-xgettext-tools/tests/msguniq-44
-rwxr-xr-xgettext-tools/tests/msguniq-52
-rwxr-xr-xgettext-tools/tests/plural-12
-rwxr-xr-xgettext-tools/tests/xgettext-awk-12
-rwxr-xr-xgettext-tools/tests/xgettext-c-102
-rwxr-xr-xgettext-tools/tests/xgettext-c-112
-rwxr-xr-xgettext-tools/tests/xgettext-c-32
-rwxr-xr-xgettext-tools/tests/xgettext-c-42
-rwxr-xr-xgettext-tools/tests/xgettext-c-52
-rwxr-xr-xgettext-tools/tests/xgettext-c-64
-rwxr-xr-xgettext-tools/tests/xgettext-c-92
-rwxr-xr-xgettext-tools/tests/xgettext-csharp-52
-rwxr-xr-xgettext-tools/tests/xgettext-elisp-12
-rwxr-xr-xgettext-tools/tests/xgettext-java-52
-rwxr-xr-xgettext-tools/tests/xgettext-librep-12
-rwxr-xr-xgettext-tools/tests/xgettext-lisp-12
-rwxr-xr-xgettext-tools/tests/xgettext-objc-12
-rwxr-xr-xgettext-tools/tests/xgettext-objc-22
-rwxr-xr-xgettext-tools/tests/xgettext-perl-12
-rwxr-xr-xgettext-tools/tests/xgettext-perl-52
-rwxr-xr-xgettext-tools/tests/xgettext-php-12
-rwxr-xr-xgettext-tools/tests/xgettext-po-14
-rwxr-xr-xgettext-tools/tests/xgettext-properties-14
-rwxr-xr-xgettext-tools/tests/xgettext-python-22
-rwxr-xr-xgettext-tools/tests/xgettext-python-310
-rwxr-xr-xgettext-tools/tests/xgettext-scheme-12
-rwxr-xr-xgettext-tools/tests/xgettext-sh-12
-rwxr-xr-xgettext-tools/tests/xgettext-sh-22
-rwxr-xr-xgettext-tools/tests/xgettext-sh-32
-rwxr-xr-xgettext-tools/tests/xgettext-sh-42
-rwxr-xr-xgettext-tools/tests/xgettext-smalltalk-12
-rwxr-xr-xgettext-tools/tests/xgettext-stringtable-12
-rwxr-xr-xgettext-tools/tests/xgettext-tcl-22
-rwxr-xr-xgettext-tools/tests/xgettext-ycp-22
119 files changed, 266 insertions, 140 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index 500e82b..443925c 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -1,5 +1,130 @@
2005-11-21 Bruno Haible <bruno@clisp.org>
+ * format-c-3: Put all non-option arguments after all option arguments,
+ so that the test works 1. when POSIXLY_CORRECT is set, 2. on platforms
+ whose getopt facility is POSIX compliant but not GNU libc compatible,
+ such as Cygwin.
+ * format-c-4: Likewise.
+ * format-c-5: Likewise.
+ * msgattrib-1: Likewise.
+ * msgattrib-2: Likewise.
+ * msgattrib-3: Likewise.
+ * msgattrib-4: Likewise.
+ * msgattrib-5: Likewise.
+ * msgattrib-6: Likewise.
+ * msgattrib-7: Likewise.
+ * msgattrib-8: Likewise.
+ * msgattrib-9: Likewise.
+ * msgattrib-10: Likewise.
+ * msgattrib-11: Likewise.
+ * msgattrib-12: Likewise.
+ * msgattrib-13: Likewise.
+ * msgattrib-14: Likewise.
+ * msgattrib-15: Likewise.
+ * msgattrib-properties-1: Likewise.
+ * msgcat-1: Likewise.
+ * msgcat-11: Likewise.
+ * msgcat-properties-1: Likewise.
+ * msgcat-properties-2: Likewise.
+ * msgcat-stringtable-1: Likewise.
+ * msgcomm-17: Likewise.
+ * msgcomm-18: Likewise.
+ * msgcomm-19: Likewise.
+ * msgcomm-21: Likewise.
+ * msgcomm-23: Likewise.
+ * msgconv-1: Likewise.
+ * msgconv-2: Likewise.
+ * msgconv-4: Likewise.
+ * msgconv-5: Likewise.
+ * msgen-1: Likewise.
+ * msgen-2: Likewise.
+ * msgen-3: Likewise.
+ * msgfmt-1: Likewise.
+ * msgfmt-2: Likewise.
+ * msgfmt-3: Likewise.
+ * msgfmt-4: Likewise.
+ * msgfmt-5: Likewise.
+ * msgfmt-10: Likewise.
+ * msgfmt-12: Likewise.
+ * msgfmt-14: Likewise.
+ * msgfmt-15: Likewise.
+ * msgfmt-properties-1: Likewise.
+ * msgfmt-qt-1: Likewise.
+ * msggrep-1: Likewise.
+ * msggrep-2: Likewise.
+ * msggrep-3: Likewise.
+ * msggrep-4: Likewise.
+ * msggrep-5: Likewise.
+ * msggrep-6: Likewise.
+ * msggrep-7: Likewise.
+ * msgmerge-1: Likewise.
+ * msgmerge-2: Likewise.
+ * msgmerge-3: Likewise.
+ * msgmerge-4: Likewise.
+ * msgmerge-5: Likewise.
+ * msgmerge-6: Likewise.
+ * msgmerge-7: Likewise.
+ * msgmerge-8: Likewise.
+ * msgmerge-9: Likewise.
+ * msgmerge-10: Likewise.
+ * msgmerge-11: Likewise.
+ * msgmerge-12: Likewise.
+ * msgmerge-13: Likewise.
+ * msgmerge-14: Likewise.
+ * msgmerge-15: Likewise.
+ * msgmerge-16: Likewise.
+ * msgmerge-17: Likewise.
+ * msgmerge-18: Likewise.
+ * msgmerge-compendium-1: Likewise.
+ * msgmerge-compendium-2: Likewise.
+ * msgmerge-compendium-3: Likewise.
+ * msgmerge-compendium-4: Likewise.
+ * msgmerge-properties-1: Likewise.
+ * msgunfmt-1: Likewise.
+ * msgunfmt-csharp-1: Likewise.
+ * msgunfmt-java-1: Likewise.
+ * msgunfmt-properties-1: Likewise.
+ * msguniq-1: Likewise.
+ * msguniq-2: Likewise.
+ * msguniq-3: Likewise.
+ * msguniq-4: Likewise.
+ * msguniq-5: Likewise.
+ * plural-1: Likewise.
+ * xgettext-awk-1: Likewise.
+ * xgettext-c-3: Likewise.
+ * xgettext-c-4: Likewise.
+ * xgettext-c-5: Likewise.
+ * xgettext-c-6: Likewise.
+ * xgettext-c-9: Likewise.
+ * xgettext-c-10: Likewise.
+ * xgettext-c-11: Likewise.
+ * xgettext-csharp-5: Likewise.
+ * xgettext-elisp-1: Likewise.
+ * xgettext-java-5: Likewise.
+ * xgettext-librep-1: Likewise.
+ * xgettext-lisp-1: Likewise.
+ * xgettext-objc-1: Likewise.
+ * xgettext-objc-2: Likewise.
+ * xgettext-perl-1: Likewise.
+ * xgettext-perl-5: Likewise.
+ * xgettext-php-1: Likewise.
+ * xgettext-po-1: Likewise.
+ * xgettext-properties-1: Likewise.
+ * xgettext-python-2: Likewise.
+ * xgettext-python-3: Likewise.
+ * xgettext-scheme-1: Likewise.
+ * xgettext-sh-1: Likewise.
+ * xgettext-sh-2: Likewise.
+ * xgettext-sh-3: Likewise.
+ * xgettext-sh-4: Likewise.
+ * xgettext-smalltalk-1: Likewise.
+ * xgettext-stringtable-1: Likewise.
+ * xgettext-tcl-2: Likewise.
+ * xgettext-ycp-2: Likewise.
+ Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
+
+2005-11-21 Bruno Haible <bruno@clisp.org>
+
* gettext-4: Skip the test if there is no de_DE.ISO-8859-1 locale.
2005-10-18 Bruno Haible <bruno@clisp.org>
diff --git a/gettext-tools/tests/format-c-3 b/gettext-tools/tests/format-c-3
index 4d705b0..5aa21c3 100755
--- a/gettext-tools/tests/format-c-3
+++ b/gettext-tools/tests/format-c-3
@@ -35,7 +35,7 @@ ${MSGFMT} -o de/LC_MESSAGES/fc3.mo de.po
tmpfiles="$tmpfiles de.po.tmp"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} de/LC_MESSAGES/fc3.mo -o de.po.tmp
+${MSGUNFMT} -o de.po.tmp de/LC_MESSAGES/fc3.mo
tmpfiles="$tmpfiles de.po.strip"
sed 1d < de.po > de.po.strip
diff --git a/gettext-tools/tests/format-c-4 b/gettext-tools/tests/format-c-4
index 78fa50a..068b8d5 100755
--- a/gettext-tools/tests/format-c-4
+++ b/gettext-tools/tests/format-c-4
@@ -39,7 +39,7 @@ ${MSGFMT} -o de/LC_MESSAGES/fc4.mo de.po
tmpfiles="$tmpfiles de.po.tmp"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} de/LC_MESSAGES/fc4.mo -o de.po.tmp
+${MSGUNFMT} -o de.po.tmp de/LC_MESSAGES/fc4.mo
tmpfiles="$tmpfiles de.po.strip"
sed 1d < de.po > de.po.strip
diff --git a/gettext-tools/tests/format-c-5 b/gettext-tools/tests/format-c-5
index 7430ac3..8b9b252 100755
--- a/gettext-tools/tests/format-c-5
+++ b/gettext-tools/tests/format-c-5
@@ -36,7 +36,7 @@ ${MSGFMT} -o fa/LC_MESSAGES/fc5.mo fa.po
tmpfiles="$tmpfiles fa.po.tmp"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} fa/LC_MESSAGES/fc5.mo -o fa.po.tmp
+${MSGUNFMT} -o fa.po.tmp fa/LC_MESSAGES/fc5.mo
tmpfiles="$tmpfiles fa.po.strip"
sed 1d < fa.po > fa.po.strip
diff --git a/gettext-tools/tests/msgattrib-1 b/gettext-tools/tests/msgattrib-1
index b95888f..9e1fa8d 100755
--- a/gettext-tools/tests/msgattrib-1
+++ b/gettext-tools/tests/msgattrib-1
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test1.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --translated ma-test1.po -o ma-test1.out
+${MSGATTRIB} --translated -o ma-test1.out ma-test1.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test1.ok"
diff --git a/gettext-tools/tests/msgattrib-10 b/gettext-tools/tests/msgattrib-10
index 6094936..e982ce9 100755
--- a/gettext-tools/tests/msgattrib-10
+++ b/gettext-tools/tests/msgattrib-10
@@ -59,7 +59,7 @@ EOF
tmpfiles="$tmpfiles ma-test10.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --set-obsolete ma-test10.po -o ma-test10.out
+${MSGATTRIB} --set-obsolete -o ma-test10.out ma-test10.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test10.ok"
diff --git a/gettext-tools/tests/msgattrib-11 b/gettext-tools/tests/msgattrib-11
index e89b636..7d98007 100755
--- a/gettext-tools/tests/msgattrib-11
+++ b/gettext-tools/tests/msgattrib-11
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test11.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-obsolete ma-test11.po -o ma-test11.out
+${MSGATTRIB} --clear-obsolete -o ma-test11.out ma-test11.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test11.ok"
diff --git a/gettext-tools/tests/msgattrib-12 b/gettext-tools/tests/msgattrib-12
index 75f2917..cefc5d4 100755
--- a/gettext-tools/tests/msgattrib-12
+++ b/gettext-tools/tests/msgattrib-12
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test12.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --fuzzy ma-test12.po -o ma-test12.out
+${MSGATTRIB} --fuzzy -o ma-test12.out ma-test12.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test12.ok"
diff --git a/gettext-tools/tests/msgattrib-13 b/gettext-tools/tests/msgattrib-13
index 2fd98be..52343d7 100755
--- a/gettext-tools/tests/msgattrib-13
+++ b/gettext-tools/tests/msgattrib-13
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test13.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --obsolete ma-test13.po -o ma-test13.out
+${MSGATTRIB} --obsolete -o ma-test13.out ma-test13.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test13.ok"
diff --git a/gettext-tools/tests/msgattrib-14 b/gettext-tools/tests/msgattrib-14
index e43d5c9..e434999 100755
--- a/gettext-tools/tests/msgattrib-14
+++ b/gettext-tools/tests/msgattrib-14
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test14.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --obsolete --no-fuzzy ma-test14.po -o ma-test14.out
+${MSGATTRIB} --obsolete --no-fuzzy -o ma-test14.out ma-test14.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test14.ok"
diff --git a/gettext-tools/tests/msgattrib-15 b/gettext-tools/tests/msgattrib-15
index 1f54513..c0eb80f 100755
--- a/gettext-tools/tests/msgattrib-15
+++ b/gettext-tools/tests/msgattrib-15
@@ -53,7 +53,7 @@ EOF
tmpfiles="$tmpfiles ma-test15.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-fuzzy ma-test15.po -o ma-test15.out
+${MSGATTRIB} --clear-fuzzy -o ma-test15.out ma-test15.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msgattrib-2 b/gettext-tools/tests/msgattrib-2
index 9beb8bd..25a5775 100755
--- a/gettext-tools/tests/msgattrib-2
+++ b/gettext-tools/tests/msgattrib-2
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test2.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --untranslated ma-test2.po -o ma-test2.out
+${MSGATTRIB} --untranslated -o ma-test2.out ma-test2.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test2.ok"
diff --git a/gettext-tools/tests/msgattrib-3 b/gettext-tools/tests/msgattrib-3
index 1c21a17..65e29cb 100755
--- a/gettext-tools/tests/msgattrib-3
+++ b/gettext-tools/tests/msgattrib-3
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test3.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --no-fuzzy ma-test3.po -o ma-test3.out
+${MSGATTRIB} --no-fuzzy -o ma-test3.out ma-test3.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test3.ok"
diff --git a/gettext-tools/tests/msgattrib-4 b/gettext-tools/tests/msgattrib-4
index 66d7c22..8880b2c 100755
--- a/gettext-tools/tests/msgattrib-4
+++ b/gettext-tools/tests/msgattrib-4
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test4.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --only-fuzzy ma-test4.po -o ma-test4.out
+${MSGATTRIB} --only-fuzzy -o ma-test4.out ma-test4.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test4.ok"
diff --git a/gettext-tools/tests/msgattrib-5 b/gettext-tools/tests/msgattrib-5
index 4a5040c..adf4ebe 100755
--- a/gettext-tools/tests/msgattrib-5
+++ b/gettext-tools/tests/msgattrib-5
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test5.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --no-obsolete ma-test5.po -o ma-test5.out
+${MSGATTRIB} --no-obsolete -o ma-test5.out ma-test5.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test5.ok"
diff --git a/gettext-tools/tests/msgattrib-6 b/gettext-tools/tests/msgattrib-6
index 67b8530..02c516f 100755
--- a/gettext-tools/tests/msgattrib-6
+++ b/gettext-tools/tests/msgattrib-6
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test6.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --only-obsolete ma-test6.po -o ma-test6.out
+${MSGATTRIB} --only-obsolete -o ma-test6.out ma-test6.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test6.ok"
diff --git a/gettext-tools/tests/msgattrib-7 b/gettext-tools/tests/msgattrib-7
index 9aa7b07..73d26a7 100755
--- a/gettext-tools/tests/msgattrib-7
+++ b/gettext-tools/tests/msgattrib-7
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test7.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --translated --only-obsolete ma-test7.po -o ma-test7.out
+${MSGATTRIB} --translated --only-obsolete -o ma-test7.out ma-test7.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test7.ok"
diff --git a/gettext-tools/tests/msgattrib-8 b/gettext-tools/tests/msgattrib-8
index c79adc2..098582d 100755
--- a/gettext-tools/tests/msgattrib-8
+++ b/gettext-tools/tests/msgattrib-8
@@ -59,7 +59,7 @@ EOF
tmpfiles="$tmpfiles ma-test8.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --set-fuzzy ma-test8.po -o ma-test8.out
+${MSGATTRIB} --set-fuzzy -o ma-test8.out ma-test8.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test8.ok"
diff --git a/gettext-tools/tests/msgattrib-9 b/gettext-tools/tests/msgattrib-9
index 05a9127..6a03577 100755
--- a/gettext-tools/tests/msgattrib-9
+++ b/gettext-tools/tests/msgattrib-9
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles ma-test9.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-fuzzy ma-test9.po -o ma-test9.out
+${MSGATTRIB} --clear-fuzzy -o ma-test9.out ma-test9.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test9.ok"
diff --git a/gettext-tools/tests/msgattrib-properties-1 b/gettext-tools/tests/msgattrib-properties-1
index a396452..cb5b260 100755
--- a/gettext-tools/tests/msgattrib-properties-1
+++ b/gettext-tools/tests/msgattrib-properties-1
@@ -34,7 +34,7 @@ EOF
tmpfiles="$tmpfiles ma-s-1.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --translated --properties-input --properties-output ma-s-1.properties -o ma-s-1.out
+${MSGATTRIB} --translated --properties-input --properties-output -o ma-s-1.out ma-s-1.properties
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-s-1.ok"
diff --git a/gettext-tools/tests/msgcat-1 b/gettext-tools/tests/msgcat-1
index e10c1c5..8a4c483 100755
--- a/gettext-tools/tests/msgcat-1
+++ b/gettext-tools/tests/msgcat-1
@@ -43,7 +43,7 @@ EOF
tmpfiles="$tmpfiles mcat-test1.out"
: ${MSGCAT=msgcat}
-${MSGCAT} mcat-test1.in1 mcat-test1.in2 -o mcat-test1.out
+${MSGCAT} -o mcat-test1.out mcat-test1.in1 mcat-test1.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcat-test1.ok"
diff --git a/gettext-tools/tests/msgcat-11 b/gettext-tools/tests/msgcat-11
index 29c14f5..970205b 100755
--- a/gettext-tools/tests/msgcat-11
+++ b/gettext-tools/tests/msgcat-11
@@ -35,7 +35,7 @@ EOF
tmpfiles="$tmpfiles mcat-test11.out"
: ${MSGCAT=msgcat}
-${MSGCAT} mcat-test11.in -o mcat-test11.out
+${MSGCAT} -o mcat-test11.out mcat-test11.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msgcat-properties-1 b/gettext-tools/tests/msgcat-properties-1
index 9662a5e..e22ce0a 100755
--- a/gettext-tools/tests/msgcat-properties-1
+++ b/gettext-tools/tests/msgcat-properties-1
@@ -23,7 +23,7 @@ rm -f mcat-p-1.out
: ${MSGCAT=msgcat}
${MSGCAT} --use-first --more-than=0 --properties-input --properties-output \
- mcat-p-1.in1 mcat-p-1.in2 -o mcat-p-1.out
+ -o mcat-p-1.out mcat-p-1.in1 mcat-p-1.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcat-p-1.ok"
diff --git a/gettext-tools/tests/msgcat-properties-2 b/gettext-tools/tests/msgcat-properties-2
index 765e88a..4570389 100755
--- a/gettext-tools/tests/msgcat-properties-2
+++ b/gettext-tools/tests/msgcat-properties-2
@@ -14,7 +14,7 @@ EOF
tmpfiles="$tmpfiles mcat-p-2.out"
: ${MSGCAT=msgcat}
-${MSGCAT} --properties-input --properties-output -t Big5 mcat-p-2.properties -o mcat-p-2.out
+${MSGCAT} --properties-input --properties-output -t Big5 -o mcat-p-2.out mcat-p-2.properties
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msgcat-stringtable-1 b/gettext-tools/tests/msgcat-stringtable-1
index d15fe10..0037452 100755
--- a/gettext-tools/tests/msgcat-stringtable-1
+++ b/gettext-tools/tests/msgcat-stringtable-1
@@ -31,7 +31,7 @@ tmpfiles="$tmpfiles mcat-s-1.out mcat-s-1.err"
rm -f mcat-s-1.out
: ${MSGCAT=msgcat}
LC_MESSAGES=C LC_ALL= \
-${MSGCAT} --stringtable-input mcat-s-1.in -o mcat-s-1.out >mcat-s-1.err 2>&1
+${MSGCAT} --stringtable-input -o mcat-s-1.out mcat-s-1.in >mcat-s-1.err 2>&1
result=$?
cat mcat-s-1.err | grep -v ': internationalized messages'
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msgcomm-17 b/gettext-tools/tests/msgcomm-17
index f7f9da8..3d7916e 100755
--- a/gettext-tools/tests/msgcomm-17
+++ b/gettext-tools/tests/msgcomm-17
@@ -68,8 +68,9 @@ EOF
tmpfiles="$tmpfiles mcomm-test17.out"
: ${MSGCOMM=msgcomm}
-${MSGCOMM} -u mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3 \
- -o mcomm-test17.out
+${MSGCOMM} -u \
+ -o mcomm-test17.out \
+ mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcomm-test17.ok"
diff --git a/gettext-tools/tests/msgcomm-18 b/gettext-tools/tests/msgcomm-18
index 20b45eb..4cfe17f 100755
--- a/gettext-tools/tests/msgcomm-18
+++ b/gettext-tools/tests/msgcomm-18
@@ -22,7 +22,7 @@ EOF
tmpfiles="$tmpfiles mcomm-test18.out"
: ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 mcomm-test18.in1 mcomm-test18.in2 -o mcomm-test18.out
+${MSGCOMM} --more-than=0 -o mcomm-test18.out mcomm-test18.in1 mcomm-test18.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcomm-test18.ok"
diff --git a/gettext-tools/tests/msgcomm-19 b/gettext-tools/tests/msgcomm-19
index df5168d..07587da 100755
--- a/gettext-tools/tests/msgcomm-19
+++ b/gettext-tools/tests/msgcomm-19
@@ -24,7 +24,7 @@ EOF
tmpfiles="$tmpfiles mcomm-test19.out"
: ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 mcomm-test19.in1 mcomm-test19.in2 -o mcomm-test19.out
+${MSGCOMM} --more-than=0 -o mcomm-test19.out mcomm-test19.in1 mcomm-test19.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcomm-test19.ok"
diff --git a/gettext-tools/tests/msgcomm-21 b/gettext-tools/tests/msgcomm-21
index f97ddd5..561c370 100755
--- a/gettext-tools/tests/msgcomm-21
+++ b/gettext-tools/tests/msgcomm-21
@@ -25,7 +25,7 @@ EOF
tmpfiles="$tmpfiles mcomm-test21.out"
: ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 mcomm-test21.in1 mcomm-test21.in2 -o mcomm-test21.out
+${MSGCOMM} --more-than=0 -o mcomm-test21.out mcomm-test21.in1 mcomm-test21.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcomm-test21.ok"
diff --git a/gettext-tools/tests/msgcomm-23 b/gettext-tools/tests/msgcomm-23
index 619f1e4..dd75b2f 100755
--- a/gettext-tools/tests/msgcomm-23
+++ b/gettext-tools/tests/msgcomm-23
@@ -11,7 +11,7 @@ cp ${top_srcdir}/tests/msguniq-a.in mcomm-23.in2
tmpfiles="$tmpfiles mcomm-23.out"
: ${MSGCOMM=msgcomm}
-${MSGCOMM} -w 1000 mcomm-23.in1 mcomm-23.in2 -o mcomm-23.out
+${MSGCOMM} -w 1000 -o mcomm-23.out mcomm-23.in1 mcomm-23.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msgconv-1 b/gettext-tools/tests/msgconv-1
index 960be28..576f9d6 100755
--- a/gettext-tools/tests/msgconv-1
+++ b/gettext-tools/tests/msgconv-1
@@ -22,7 +22,7 @@ EOF
tmpfiles="$tmpfiles mco-test1.out"
: ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 mco-test1.po -o mco-test1.out
+${MSGCONV} --to-code=UTF-8 -o mco-test1.out mco-test1.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mco-test1.ok"
diff --git a/gettext-tools/tests/msgconv-2 b/gettext-tools/tests/msgconv-2
index 93f28c8..850a043 100755
--- a/gettext-tools/tests/msgconv-2
+++ b/gettext-tools/tests/msgconv-2
@@ -23,7 +23,7 @@ EOF
tmpfiles="$tmpfiles mco-test2.out"
: ${MSGCONV=msgconv}
-${MSGCONV} -t Big5 mco-test2.po -o mco-test2.out
+${MSGCONV} -t Big5 -o mco-test2.out mco-test2.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mco-test2.ok"
diff --git a/gettext-tools/tests/msgconv-4 b/gettext-tools/tests/msgconv-4
index 29b82a9..b41c89f 100755
--- a/gettext-tools/tests/msgconv-4
+++ b/gettext-tools/tests/msgconv-4
@@ -14,7 +14,7 @@ EOF
tmpfiles="$tmpfiles mco-test4.out"
: ${MSGCONV=msgconv}
-${MSGCONV} --properties-input --properties-output -t Big5 mco-test4.properties -o mco-test4.out
+${MSGCONV} --properties-input --properties-output -t Big5 -o mco-test4.out mco-test4.properties
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msgconv-5 b/gettext-tools/tests/msgconv-5
index 2fb9e1e..ab352a1 100755
--- a/gettext-tools/tests/msgconv-5
+++ b/gettext-tools/tests/msgconv-5
@@ -53,7 +53,7 @@ EOF
tmpfiles="$tmpfiles mco-test5.out"
: ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 mco-test5.po -o mco-test5.out
+${MSGCONV} --to-code=UTF-8 -o mco-test5.out mco-test5.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mco-test5.ok"
diff --git a/gettext-tools/tests/msgen-1 b/gettext-tools/tests/msgen-1
index cf4993c..6f57b50 100755
--- a/gettext-tools/tests/msgen-1
+++ b/gettext-tools/tests/msgen-1
@@ -31,7 +31,7 @@ EOF
tmpfiles="$tmpfiles men-test1.out"
: ${MSGEN=msgen}
-${MSGEN} men-test1.po -o men-test1.out
+${MSGEN} -o men-test1.out men-test1.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles men-test1.ok"
diff --git a/gettext-tools/tests/msgen-2 b/gettext-tools/tests/msgen-2
index 634940f..9f07f1d 100755
--- a/gettext-tools/tests/msgen-2
+++ b/gettext-tools/tests/msgen-2
@@ -16,7 +16,7 @@ EOF
tmpfiles="$tmpfiles men-test2.out"
: ${MSGEN=msgen}
-${MSGEN} --properties-input --properties-output men-test2.properties -o men-test2.out
+${MSGEN} --properties-input --properties-output -o men-test2.out men-test2.properties
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles men-test2.ok"
diff --git a/gettext-tools/tests/msgen-3 b/gettext-tools/tests/msgen-3
index 2da5439..244b4e5 100755
--- a/gettext-tools/tests/msgen-3
+++ b/gettext-tools/tests/msgen-3
@@ -45,7 +45,7 @@ EOF
tmpfiles="$tmpfiles men-test3.out"
: ${MSGEN=msgen}
-${MSGEN} men-test3.pot -o men-test3.out
+${MSGEN} -o men-test3.out men-test3.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles men-test3.ok"
diff --git a/gettext-tools/tests/msgfmt-1 b/gettext-tools/tests/msgfmt-1
index 0dc6315..5c07132 100755
--- a/gettext-tools/tests/msgfmt-1
+++ b/gettext-tools/tests/msgfmt-1
@@ -46,7 +46,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
@@ -54,9 +54,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-test1.out"
diff --git a/gettext-tools/tests/msgfmt-10 b/gettext-tools/tests/msgfmt-10
index d95c7ca..000119a 100755
--- a/gettext-tools/tests/msgfmt-10
+++ b/gettext-tools/tests/msgfmt-10
@@ -38,7 +38,7 @@ msgstr[1] "%d yararsýz kurals"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check mf-test10.po1 -o /dev/null
+${MSGFMT} --check -o /dev/null mf-test10.po1
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-test10.po2"
@@ -69,7 +69,7 @@ EOF
tmpfiles="$tmpfiles mf-test10.err"
: ${MSGFMT=msgfmt}
LC_MESSAGES=C LC_ALL= \
-${MSGFMT} --check mf-test10.po2 -o /dev/null \
+${MSGFMT} --check -o /dev/null mf-test10.po2 \
2>&1 | grep -v '^==' > mf-test10.err
tmpfiles="$tmpfiles mf-test10.ok"
diff --git a/gettext-tools/tests/msgfmt-12 b/gettext-tools/tests/msgfmt-12
index 427b833..565a32b 100755
--- a/gettext-tools/tests/msgfmt-12
+++ b/gettext-tools/tests/msgfmt-12
@@ -29,7 +29,7 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-12.out"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} mf-12.mo -o mf-12.out
+${MSGUNFMT} -o mf-12.out mf-12.mo
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-12.ok"
diff --git a/gettext-tools/tests/msgfmt-14 b/gettext-tools/tests/msgfmt-14
index 1b8ca52..7b54c84 100755
--- a/gettext-tools/tests/msgfmt-14
+++ b/gettext-tools/tests/msgfmt-14
@@ -58,7 +58,7 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-14.out"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} mf-14.mo -o mf-14.out
+${MSGUNFMT} -o mf-14.out mf-14.mo
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-14.ok"
diff --git a/gettext-tools/tests/msgfmt-15 b/gettext-tools/tests/msgfmt-15
index 7ebb1ad..bafd497 100755
--- a/gettext-tools/tests/msgfmt-15
+++ b/gettext-tools/tests/msgfmt-15
@@ -39,7 +39,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check mf-15.po1 -o /dev/null
+${MSGFMT} --check -o /dev/null mf-15.po1
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-15.po2"
@@ -69,7 +69,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check mf-15.po2 -o /dev/null 2>/dev/null
+${MSGFMT} --check -o /dev/null mf-15.po2 2>/dev/null
test $? = 1 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-15.po3"
@@ -99,7 +99,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check mf-15.po3 -o /dev/null
+${MSGFMT} --check -o /dev/null mf-15.po3
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-15.po4"
@@ -129,7 +129,7 @@ msgstr[2] "der unnützen Nichtterminale"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check mf-15.po4 -o /dev/null 2>/dev/null
+${MSGFMT} --check -o /dev/null mf-15.po4 2>/dev/null
test $? = 1 || { rm -fr $tmpfiles; exit 1; }
rm -fr $tmpfiles
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"
diff --git a/gettext-tools/tests/msgfmt-3 b/gettext-tools/tests/msgfmt-3
index a70a7d7..49625e3 100755
--- a/gettext-tools/tests/msgfmt-3
+++ b/gettext-tools/tests/msgfmt-3
@@ -23,7 +23,7 @@ EOF
tmpfiles="$tmpfiles mftest3.mo mftest3.err"
: ${MSGFMT=msgfmt}
LC_MESSAGES=C LC_ALL= \
-${MSGFMT} mf-test3.po -o mftest3.mo >mftest3.err 2>&1
+${MSGFMT} -o mftest3.mo mf-test3.po >mftest3.err 2>&1
result=$?
cat mftest3.err | grep -v 'warning: Charset' | grep -v '^ '
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msgfmt-4 b/gettext-tools/tests/msgfmt-4
index f833ed9..43de254 100755
--- a/gettext-tools/tests/msgfmt-4
+++ b/gettext-tools/tests/msgfmt-4
@@ -36,7 +36,7 @@ msgstr "...but this $s not"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} mf-test4.po -o /dev/null 2> /dev/null
+${MSGFMT} -o /dev/null mf-test4.po 2> /dev/null
result=$?
rm -fr $tmpfiles
diff --git a/gettext-tools/tests/msgfmt-5 b/gettext-tools/tests/msgfmt-5
index 4da5bb5..ccdd349 100755
--- a/gettext-tools/tests/msgfmt-5
+++ b/gettext-tools/tests/msgfmt-5
@@ -39,9 +39,9 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles foo-de.out foo-fr.out"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} foo-de.mo -o foo-de.out
+${MSGUNFMT} -o foo-de.out foo-de.mo
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-${MSGUNFMT} foo-fr.mo -o foo-fr.out
+${MSGUNFMT} -o foo-fr.out foo-fr.mo
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles foo-de.ok"
diff --git a/gettext-tools/tests/msgfmt-properties-1 b/gettext-tools/tests/msgfmt-properties-1
index a3cebb9..5e2d8e3 100755
--- a/gettext-tools/tests/msgfmt-properties-1
+++ b/gettext-tools/tests/msgfmt-properties-1
@@ -26,7 +26,7 @@ EOF
# Without use of msgcat, expect a "duplicate message definition" error.
: ${MSGFMT=msgfmt}
-if ${MSGFMT} --properties-input mf-p-1-1.properties mf-p-1-2.properties -o LC_MESSAGES/gen.mo 2> /dev/null; then
+if ${MSGFMT} --properties-input -o LC_MESSAGES/gen.mo mf-p-1-1.properties mf-p-1-2.properties 2> /dev/null; then
rm -fr $tmpfiles
exit 1
fi
@@ -34,9 +34,9 @@ fi
# With msgcat, it should work.
tmpfiles="$tmpfiles mf-p-1-s.properties"
: ${MSGCAT=msgcat} ${MSGFMT=msgfmt}
-${MSGCAT} --properties-input --properties-output --use-first mf-p-1-1.properties mf-p-1-2.properties -o mf-p-1-s.properties
+${MSGCAT} --properties-input --properties-output --use-first -o mf-p-1-s.properties mf-p-1-1.properties mf-p-1-2.properties
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-${MSGFMT} --properties-input mf-p-1-s.properties -o LC_MESSAGES/gen.mo
+${MSGFMT} --properties-input -o LC_MESSAGES/gen.mo mf-p-1-s.properties
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mf-test1.out"
diff --git a/gettext-tools/tests/msgfmt-qt-1 b/gettext-tools/tests/msgfmt-qt-1
index 3ade4a9..26b90a1 100755
--- a/gettext-tools/tests/msgfmt-qt-1
+++ b/gettext-tools/tests/msgfmt-qt-1
@@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles mf-qt-1.qm"
: ${MSGFMT=msgfmt}
-${MSGFMT} --qt ${top_srcdir}/tests/qttest_pl.po -o mf-qt-1.qm
+${MSGFMT} --qt -o mf-qt-1.qm ${top_srcdir}/tests/qttest_pl.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${CMP=cmp}
diff --git a/gettext-tools/tests/msggrep-1 b/gettext-tools/tests/msggrep-1
index 5e116d6..8f235e9 100755
--- a/gettext-tools/tests/msggrep-1
+++ b/gettext-tools/tests/msggrep-1
@@ -157,7 +157,7 @@ EOF
tmpfiles="$tmpfiles mg-test1.out"
: ${MSGGREP=msggrep}
-${MSGGREP} -N pipe-bidi.c mg-test1.po -o mg-test1.out
+${MSGGREP} -N pipe-bidi.c -o mg-test1.out mg-test1.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mg-test1.ok"
diff --git a/gettext-tools/tests/msggrep-2 b/gettext-tools/tests/msggrep-2
index 424455c..017a6a4 100755
--- a/gettext-tools/tests/msggrep-2
+++ b/gettext-tools/tests/msggrep-2
@@ -154,7 +154,7 @@ EOF
tmpfiles="$tmpfiles mg-test2.out"
: ${MSGGREP=msggrep}
-${MSGGREP} -M fr mg-test2.po -o mg-test2.out
+${MSGGREP} -M fr -o mg-test2.out mg-test2.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mg-test2.ok"
diff --git a/gettext-tools/tests/msggrep-3 b/gettext-tools/tests/msggrep-3
index 3701b7c..87f0fab 100755
--- a/gettext-tools/tests/msggrep-3
+++ b/gettext-tools/tests/msggrep-3
@@ -162,7 +162,7 @@ EOF
tmpfiles="$tmpfiles mg-test3.out mg-test3.err"
: ${MSGGREP=msggrep}
LC_MESSAGES=C LC_ALL= \
-${MSGGREP} -K -e error -T -e Speicher mg-test3.po -o mg-test3.out >mg-test3.err 2>&1
+${MSGGREP} -K -e error -T -e Speicher -o mg-test3.out mg-test3.po >mg-test3.err 2>&1
result=$?
cat mg-test3.err | grep -v 'warning: Locale charset' | grep -v '^ '
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msggrep-4 b/gettext-tools/tests/msggrep-4
index 0d80f56..60f7585 100755
--- a/gettext-tools/tests/msggrep-4
+++ b/gettext-tools/tests/msggrep-4
@@ -164,7 +164,7 @@ echo 'illegal' > mg-test4.in2
tmpfiles="$tmpfiles mg-test4.out mg-test4.err"
: ${MSGGREP=msggrep}
LC_MESSAGES=C LC_ALL= \
-${MSGGREP} -K -e error -f mg-test4.in1 -f mg-test4.in2 -e cannot mg-test4.po -o mg-test4.out > mg-test4.err 2>&1
+${MSGGREP} -K -e error -f mg-test4.in1 -f mg-test4.in2 -e cannot -o mg-test4.out mg-test4.po > mg-test4.err 2>&1
result=$?
cat mg-test4.err | grep -v 'warning: Locale charset' | grep -v '^ '
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msggrep-5 b/gettext-tools/tests/msggrep-5
index c35aa5d..3ea8e35 100755
--- a/gettext-tools/tests/msggrep-5
+++ b/gettext-tools/tests/msggrep-5
@@ -170,7 +170,7 @@ EOF
tmpfiles="$tmpfiles mg-test5.out mg-test5.err"
: ${MSGGREP=msggrep}
LC_MESSAGES=C LC_ALL= \
-${MSGGREP} -C -e @proofread mg-test5.po -o mg-test5.out >mg-test5.err 2>&1
+${MSGGREP} -C -e @proofread -o mg-test5.out mg-test5.po >mg-test5.err 2>&1
result=$?
cat mg-test5.err | grep -v 'warning: Locale charset' | grep -v '^ '
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msggrep-6 b/gettext-tools/tests/msggrep-6
index a759726..896e50a 100755
--- a/gettext-tools/tests/msggrep-6
+++ b/gettext-tools/tests/msggrep-6
@@ -117,7 +117,7 @@ EOF
tmpfiles="$tmpfiles mg-test6.out"
: ${MSGGREP=msggrep}
LC_MESSAGES=C LC_ALL= \
-${MSGGREP} --properties-input --properties-output -K -e error -T -e Speicher mg-test6.properties -o mg-test6.out
+${MSGGREP} --properties-input --properties-output -K -e error -T -e Speicher -o mg-test6.out mg-test6.properties
result=$?
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msggrep-7 b/gettext-tools/tests/msggrep-7
index 85bcfe6..8ed0829 100755
--- a/gettext-tools/tests/msggrep-7
+++ b/gettext-tools/tests/msggrep-7
@@ -54,7 +54,7 @@ EOF
tmpfiles="$tmpfiles mg-test7.out"
: ${MSGGREP=msggrep}
LC_MESSAGES=C LC_ALL= \
-${MSGGREP} -J -e "File|" mg-test7.po -o mg-test7.out
+${MSGGREP} -J -e "File|" -o mg-test7.out mg-test7.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mg-test7.ok"
diff --git a/gettext-tools/tests/msgmerge-1 b/gettext-tools/tests/msgmerge-1
index 66eb374..bb3ea57 100755
--- a/gettext-tools/tests/msgmerge-1
+++ b/gettext-tools/tests/msgmerge-1
@@ -40,7 +40,7 @@ EOF
tmpfiles="$tmpfiles mm-test1.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test1.in1 mm-test1.in2 -o mm-test1.out
+${MSGMERGE} -q -o mm-test1.out mm-test1.in1 mm-test1.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test1.ok"
diff --git a/gettext-tools/tests/msgmerge-10 b/gettext-tools/tests/msgmerge-10
index 8def4e2..be5777b 100755
--- a/gettext-tools/tests/msgmerge-10
+++ b/gettext-tools/tests/msgmerge-10
@@ -56,7 +56,7 @@ EOF
tmpfiles="$tmpfiles mm-test10.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test10.po mm-test10.pot -o mm-test10.out
+${MSGMERGE} -q -o mm-test10.out mm-test10.po mm-test10.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test10.ok"
diff --git a/gettext-tools/tests/msgmerge-11 b/gettext-tools/tests/msgmerge-11
index 32ca042..5a9ad94 100755
--- a/gettext-tools/tests/msgmerge-11
+++ b/gettext-tools/tests/msgmerge-11
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles mm-test11.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test11.po mm-test11.pot -o mm-test11.out
+${MSGMERGE} -q -o mm-test11.out mm-test11.po mm-test11.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test11.ok"
diff --git a/gettext-tools/tests/msgmerge-12 b/gettext-tools/tests/msgmerge-12
index a7c6fa1..799b224 100755
--- a/gettext-tools/tests/msgmerge-12
+++ b/gettext-tools/tests/msgmerge-12
@@ -56,7 +56,7 @@ EOF
tmpfiles="$tmpfiles mm-test12.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test12.po mm-test12.pot -o mm-test12.out
+${MSGMERGE} -q -o mm-test12.out mm-test12.po mm-test12.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test12.ok"
diff --git a/gettext-tools/tests/msgmerge-13 b/gettext-tools/tests/msgmerge-13
index aae35a7..487c879 100755
--- a/gettext-tools/tests/msgmerge-13
+++ b/gettext-tools/tests/msgmerge-13
@@ -89,7 +89,7 @@ EOF
tmpfiles="$tmpfiles mm-test13.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test13.po mm-test13.pot -o mm-test13.out
+${MSGMERGE} -q -o mm-test13.out mm-test13.po mm-test13.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test13.ok"
diff --git a/gettext-tools/tests/msgmerge-14 b/gettext-tools/tests/msgmerge-14
index dc0141c..f70d286 100755
--- a/gettext-tools/tests/msgmerge-14
+++ b/gettext-tools/tests/msgmerge-14
@@ -60,7 +60,7 @@ EOF
tmpfiles="$tmpfiles mm-test14.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test14-ru.po mm-test14.pot -o mm-test14.out
+${MSGMERGE} -q -o mm-test14.out mm-test14-ru.po mm-test14.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test14.ok"
diff --git a/gettext-tools/tests/msgmerge-15 b/gettext-tools/tests/msgmerge-15
index b047b5e..b516729 100755
--- a/gettext-tools/tests/msgmerge-15
+++ b/gettext-tools/tests/msgmerge-15
@@ -31,7 +31,7 @@ EOF
tmpfiles="$tmpfiles mm-test15.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test15.pot mm-test15.po -o mm-test15.out
+${MSGMERGE} -q -o mm-test15.out mm-test15.pot mm-test15.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test15.ok"
diff --git a/gettext-tools/tests/msgmerge-16 b/gettext-tools/tests/msgmerge-16
index f86893d..3bd454b 100755
--- a/gettext-tools/tests/msgmerge-16
+++ b/gettext-tools/tests/msgmerge-16
@@ -62,7 +62,7 @@ EOF
tmpfiles="$tmpfiles mm-test16.new.po"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test16.po mm-test16.pot -o mm-test16.new.po
+${MSGMERGE} -q -o mm-test16.new.po mm-test16.po mm-test16.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test16.ok"
diff --git a/gettext-tools/tests/msgmerge-17 b/gettext-tools/tests/msgmerge-17
index 1f3b7f3..f5b101a 100755
--- a/gettext-tools/tests/msgmerge-17
+++ b/gettext-tools/tests/msgmerge-17
@@ -56,7 +56,7 @@ EOF
tmpfiles="$tmpfiles mm-test17.new.po"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test17.po mm-test17.pot -o mm-test17.new.po
+${MSGMERGE} -q -o mm-test17.new.po mm-test17.po mm-test17.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test17.ok"
diff --git a/gettext-tools/tests/msgmerge-18 b/gettext-tools/tests/msgmerge-18
index 016249f..a4b6f94 100755
--- a/gettext-tools/tests/msgmerge-18
+++ b/gettext-tools/tests/msgmerge-18
@@ -122,7 +122,7 @@ test $? = 1 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test18.new.po"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test18.po mm-test18.pot -o mm-test18.new.po
+${MSGMERGE} -q -o mm-test18.new.po mm-test18.po mm-test18.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test18.ok"
diff --git a/gettext-tools/tests/msgmerge-2 b/gettext-tools/tests/msgmerge-2
index e79b145..0d7ceb1 100755
--- a/gettext-tools/tests/msgmerge-2
+++ b/gettext-tools/tests/msgmerge-2
@@ -21,7 +21,7 @@ EOF
tmpfiles="$tmpfiles mm-test2.out"
: ${MSGMERGE=msgmerge}
LC_MESSAGES=C LC_ALL= \
-${MSGMERGE} -q mm-test2.in1 mm-test2.in2 -o /dev/stdout \
+${MSGMERGE} -q -o /dev/stdout mm-test2.in1 mm-test2.in2 \
2>&1 | grep -v '^==' > mm-test2.out
tmpfiles="$tmpfiles mm-test2.ok"
diff --git a/gettext-tools/tests/msgmerge-3 b/gettext-tools/tests/msgmerge-3
index 4ca85c2..be903ca 100755
--- a/gettext-tools/tests/msgmerge-3
+++ b/gettext-tools/tests/msgmerge-3
@@ -54,7 +54,7 @@ EOF
tmpfiles="$tmpfiles mm-test3.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test3.in1 mm-test3.in2 -o mm-test3.out
+${MSGMERGE} -q -o mm-test3.out mm-test3.in1 mm-test3.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test3.ok"
diff --git a/gettext-tools/tests/msgmerge-4 b/gettext-tools/tests/msgmerge-4
index d9cc1e8..1489a12 100755
--- a/gettext-tools/tests/msgmerge-4
+++ b/gettext-tools/tests/msgmerge-4
@@ -29,7 +29,7 @@ EOF
tmpfiles="$tmpfiles mm-test4.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test4.in1.po mm-test4.in2.po -o mm-test4.out
+${MSGMERGE} -q -o mm-test4.out mm-test4.in1.po mm-test4.in2.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test4.ok"
diff --git a/gettext-tools/tests/msgmerge-5 b/gettext-tools/tests/msgmerge-5
index d7ed4d6..66127f7 100755
--- a/gettext-tools/tests/msgmerge-5
+++ b/gettext-tools/tests/msgmerge-5
@@ -42,7 +42,7 @@ EOF
tmpfiles="$tmpfiles mm-test5.out mm-test5.err"
: ${MSGMERGE=msgmerge}
LC_MESSAGES=C LC_ALL= \
-${MSGMERGE} -q mm-test5.in1.po mm-test5.in2.po -o mm-test5.out >mm-test5.err 2>&1
+${MSGMERGE} -q -o mm-test5.out mm-test5.in1.po mm-test5.in2.po >mm-test5.err 2>&1
result=$?
cat mm-test5.err | grep -v 'warning: Charset' | grep -v '^ '
test $result = 0 || { rm -fr $tmpfiles; exit 1; }
diff --git a/gettext-tools/tests/msgmerge-6 b/gettext-tools/tests/msgmerge-6
index e3e147c..d06e698 100755
--- a/gettext-tools/tests/msgmerge-6
+++ b/gettext-tools/tests/msgmerge-6
@@ -59,7 +59,7 @@ EOF
tmpfiles="$tmpfiles mm-test6.out"
: ${MSGMERGE=msgmerge}
LC_MESSAGES=C LC_ALL= \
-${MSGMERGE} -q mm-test6.in1.po mm-test6.in2.po -o mm-test6.out
+${MSGMERGE} -q -o mm-test6.out mm-test6.in1.po mm-test6.in2.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test6.ok"
diff --git a/gettext-tools/tests/msgmerge-7 b/gettext-tools/tests/msgmerge-7
index 9edbf3d..09955ce 100755
--- a/gettext-tools/tests/msgmerge-7
+++ b/gettext-tools/tests/msgmerge-7
@@ -44,7 +44,7 @@ EOF
tmpfiles="$tmpfiles mm-test7.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q mm-test7.po mm-test7.pot -o mm-test7.out
+${MSGMERGE} -q -o mm-test7.out mm-test7.po mm-test7.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test7.ok"
diff --git a/gettext-tools/tests/msgmerge-8 b/gettext-tools/tests/msgmerge-8
index 60f1658..6eda8ef 100755
--- a/gettext-tools/tests/msgmerge-8
+++ b/gettext-tools/tests/msgmerge-8
@@ -40,7 +40,7 @@ EOF
tmpfiles="$tmpfiles mm-test8.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} --multi-domain -q mm-test8.po mm-test8.pot -o mm-test8.out
+${MSGMERGE} --multi-domain -q -o mm-test8.out mm-test8.po mm-test8.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test8.ok"
diff --git a/gettext-tools/tests/msgmerge-9 b/gettext-tools/tests/msgmerge-9
index c2197e9..3d98c48 100755
--- a/gettext-tools/tests/msgmerge-9
+++ b/gettext-tools/tests/msgmerge-9
@@ -24,7 +24,7 @@ EOF
tmpfiles="$tmpfiles mm-test9.err"
: ${MSGMERGE=msgmerge}
LC_MESSAGES=C LC_ALL= \
-${MSGMERGE} -q mm-test9.in1 mm-test9.in2 -o /dev/null \
+${MSGMERGE} -q -o /dev/null mm-test9.in1 mm-test9.in2 \
2>&1 | grep -v '^==' > mm-test9.err
tmpfiles="$tmpfiles mm-test9.ok"
diff --git a/gettext-tools/tests/msgmerge-compendium-1 b/gettext-tools/tests/msgmerge-compendium-1
index a150e1e..ce489f5 100755
--- a/gettext-tools/tests/msgmerge-compendium-1
+++ b/gettext-tools/tests/msgmerge-compendium-1
@@ -30,7 +30,7 @@ EOF
tmpfiles="$tmpfiles mm-c-1.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -C mm-c-1.com mm-c-1.in1 mm-c-1.pot -o mm-c-1.out
+${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.out mm-c-1.in1 mm-c-1.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-c-1.ok"
diff --git a/gettext-tools/tests/msgmerge-compendium-2 b/gettext-tools/tests/msgmerge-compendium-2
index 2a6f0f7..295a943 100755
--- a/gettext-tools/tests/msgmerge-compendium-2
+++ b/gettext-tools/tests/msgmerge-compendium-2
@@ -30,7 +30,7 @@ EOF
tmpfiles="$tmpfiles mm-c-2.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -C mm-c-2.com mm-c-2.in1 mm-c-2.pot -o mm-c-2.out
+${MSGMERGE} -q -C mm-c-2.com -o mm-c-2.out mm-c-2.in1 mm-c-2.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-c-2.ok"
diff --git a/gettext-tools/tests/msgmerge-compendium-3 b/gettext-tools/tests/msgmerge-compendium-3
index e1e8141..c0174eb 100755
--- a/gettext-tools/tests/msgmerge-compendium-3
+++ b/gettext-tools/tests/msgmerge-compendium-3
@@ -38,7 +38,7 @@ EOF
tmpfiles="$tmpfiles mm-c-3.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -C mm-c-3.com mm-c-3.in1 mm-c-3.pot -o mm-c-3.out
+${MSGMERGE} -q -C mm-c-3.com -o mm-c-3.out mm-c-3.in1 mm-c-3.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-c-3.ok"
diff --git a/gettext-tools/tests/msgmerge-compendium-4 b/gettext-tools/tests/msgmerge-compendium-4
index 26ccacb..397ae64 100755
--- a/gettext-tools/tests/msgmerge-compendium-4
+++ b/gettext-tools/tests/msgmerge-compendium-4
@@ -31,7 +31,7 @@ EOF
tmpfiles="$tmpfiles mm-c-4.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --compendium mm-c-4.com /dev/null mm-c-4.pot -o mm-c-4.out
+${MSGMERGE} -q --compendium mm-c-4.com -o mm-c-4.out /dev/null mm-c-4.pot
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-c-4.ok"
diff --git a/gettext-tools/tests/msgmerge-properties-1 b/gettext-tools/tests/msgmerge-properties-1
index 6f56861..8660eb8 100755
--- a/gettext-tools/tests/msgmerge-properties-1
+++ b/gettext-tools/tests/msgmerge-properties-1
@@ -39,7 +39,7 @@ EOF
tmpfiles="$tmpfiles mm-p-1.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --properties-input --properties-output mm-p-1.in1 mm-p-1.in2 -o mm-p-1.out
+${MSGMERGE} -q --properties-input --properties-output -o mm-p-1.out mm-p-1.in1 mm-p-1.in2
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-p-1.ok"
diff --git a/gettext-tools/tests/msgunfmt-1 b/gettext-tools/tests/msgunfmt-1
index a707dd8..2ed457a 100755
--- a/gettext-tools/tests/msgunfmt-1
+++ b/gettext-tools/tests/msgunfmt-1
@@ -34,12 +34,12 @@ EOF
tmpfiles="$tmpfiles mu-test1.mo"
: ${MSGFMT=msgfmt}
-${MSGFMT} mu-test1.in -o mu-test1.mo
+${MSGFMT} -o mu-test1.mo mu-test1.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mu-test1.out"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} mu-test1.mo -o mu-test1.out
+${MSGUNFMT} -o mu-test1.out mu-test1.mo
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msgunfmt-csharp-1 b/gettext-tools/tests/msgunfmt-csharp-1
index 6829596..01a587c 100755
--- a/gettext-tools/tests/msgunfmt-csharp-1
+++ b/gettext-tools/tests/msgunfmt-csharp-1
@@ -44,7 +44,7 @@ ${MSGUNFMT} --csharp -d . -r prog -l fr -o prog.out || exit 1
tmpfiles="$tmpfiles prog.sort"
: ${MSGCAT=msgcat}
-${MSGCAT} -s prog.out -o prog.sort || exit 1
+${MSGCAT} -s -o prog.sort prog.out || exit 1
tmpfiles="$tmpfiles prog.ok"
cat <<\EOF > prog.ok
diff --git a/gettext-tools/tests/msgunfmt-java-1 b/gettext-tools/tests/msgunfmt-java-1
index 031c9b9..c3ea1e9 100755
--- a/gettext-tools/tests/msgunfmt-java-1
+++ b/gettext-tools/tests/msgunfmt-java-1
@@ -46,7 +46,7 @@ ${MSGUNFMT} --java -d . -r prog -l fr -o prog.out || exit 1
tmpfiles="$tmpfiles prog.sort"
: ${MSGCAT=msgcat}
-${MSGCAT} -s prog.out -o prog.sort || exit 1
+${MSGCAT} -s -o prog.sort prog.out || exit 1
tmpfiles="$tmpfiles prog.ok"
cat <<\EOF > prog.ok
diff --git a/gettext-tools/tests/msgunfmt-properties-1 b/gettext-tools/tests/msgunfmt-properties-1
index e679203..2f25eab 100755
--- a/gettext-tools/tests/msgunfmt-properties-1
+++ b/gettext-tools/tests/msgunfmt-properties-1
@@ -26,12 +26,12 @@ EOF
tmpfiles="$tmpfiles mu-p-1.mo"
: ${MSGFMT=msgfmt}
-${MSGFMT} --properties-input mu-p-1.in -o mu-p-1.mo
+${MSGFMT} --properties-input -o mu-p-1.mo mu-p-1.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mu-p-1.out"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} --properties-output mu-p-1.mo -o mu-p-1.out
+${MSGUNFMT} --properties-output -o mu-p-1.out mu-p-1.mo
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msguniq-1 b/gettext-tools/tests/msguniq-1
index 4570ce3..d2fca45 100755
--- a/gettext-tools/tests/msguniq-1
+++ b/gettext-tools/tests/msguniq-1
@@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles msguniq-1.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 ${top_srcdir}/tests/msguniq-a.in -o msguniq-1.out
+${MSGUNIQ} -w 1000 -o msguniq-1.out ${top_srcdir}/tests/msguniq-a.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msguniq-2 b/gettext-tools/tests/msguniq-2
index b80c988..8ebf16f 100755
--- a/gettext-tools/tests/msguniq-2
+++ b/gettext-tools/tests/msguniq-2
@@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles msguniq-2.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -u ${top_srcdir}/tests/msguniq-a.in -o msguniq-2.out
+${MSGUNIQ} -w 1000 -u -o msguniq-2.out ${top_srcdir}/tests/msguniq-a.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles msguniq-2.ok"
diff --git a/gettext-tools/tests/msguniq-3 b/gettext-tools/tests/msguniq-3
index ef6cbb4..8a6567f 100755
--- a/gettext-tools/tests/msguniq-3
+++ b/gettext-tools/tests/msguniq-3
@@ -7,7 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles msguniq-3.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -d ${top_srcdir}/tests/msguniq-a.in -o msguniq-3.out
+${MSGUNIQ} -w 1000 -d -o msguniq-3.out ${top_srcdir}/tests/msguniq-a.in
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles msguniq-3.ok"
diff --git a/gettext-tools/tests/msguniq-4 b/gettext-tools/tests/msguniq-4
index 352e8cf..844b4bc 100755
--- a/gettext-tools/tests/msguniq-4
+++ b/gettext-tools/tests/msguniq-4
@@ -7,12 +7,12 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="$tmpfiles msguniq-4.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} --properties-input --properties-output -w 1000 ${top_srcdir}/tests/msguniq-a.inp -o msguniq-4.out
+${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out ${top_srcdir}/tests/msguniq-a.inp
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles msguniq-4.ok"
: ${MSGCAT-msgcat}
-${MSGCAT} --properties-output -w 1000 ${top_srcdir}/tests/msguniq-a.out -o msguniq-4.ok
+${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok ${top_srcdir}/tests/msguniq-a.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
: ${DIFF=diff}
diff --git a/gettext-tools/tests/msguniq-5 b/gettext-tools/tests/msguniq-5
index 2735fec..79a1a6a 100755
--- a/gettext-tools/tests/msguniq-5
+++ b/gettext-tools/tests/msguniq-5
@@ -58,7 +58,7 @@ EOF
tmpfiles="$tmpfiles msguniq-5.out"
: ${MSGUNIQ-msguniq}
-${MSGUNIQ} msguniq-5.po -o msguniq-5.out
+${MSGUNIQ} -o msguniq-5.out msguniq-5.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles msguniq-5.ok"
diff --git a/gettext-tools/tests/plural-1 b/gettext-tools/tests/plural-1
index 23537f2..d46b0fa 100755
--- a/gettext-tools/tests/plural-1
+++ b/gettext-tools/tests/plural-1
@@ -45,7 +45,7 @@ ${MSGFMT} -o fr/LC_MESSAGES/cake.mo fr.po
tmpfiles="$tmpfiles fr.po.tmp"
: ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} fr/LC_MESSAGES/cake.mo -o fr.po.tmp
+${MSGUNFMT} -o fr.po.tmp fr/LC_MESSAGES/cake.mo
tmpfiles="$tmpfiles fr.po.strip"
sed 1,2d < fr.po > fr.po.strip
diff --git a/gettext-tools/tests/xgettext-awk-1 b/gettext-tools/tests/xgettext-awk-1
index c0422b9..e910632 100755
--- a/gettext-tools/tests/xgettext-awk-1
+++ b/gettext-tools/tests/xgettext-awk-1
@@ -21,7 +21,7 @@ EOF
tmpfiles="$tmpfiles xg-a-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-a-1.awk -d xg-a-1
+ -d xg-a-1 xg-a-1.awk
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-a-1.ok"
diff --git a/gettext-tools/tests/xgettext-c-10 b/gettext-tools/tests/xgettext-c-10
index 9c3d5e1..7f78a20 100755
--- a/gettext-tools/tests/xgettext-c-10
+++ b/gettext-tools/tests/xgettext-c-10
@@ -20,7 +20,7 @@ tmpfiles="$tmpfiles xg-c-10.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location \
--keyword=i18n:1 --keyword=i18n:1c,2 --keyword=tr:1 --keyword=tr:1,2c \
- xg-c-10.c -d xg-c-10
+ -d xg-c-10 xg-c-10.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-10.ok"
diff --git a/gettext-tools/tests/xgettext-c-11 b/gettext-tools/tests/xgettext-c-11
index 5115c46..9f2790c 100755
--- a/gettext-tools/tests/xgettext-c-11
+++ b/gettext-tools/tests/xgettext-c-11
@@ -20,7 +20,7 @@ tmpfiles="$tmpfiles xg-c-11.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location \
--keyword=i18n:1 --keyword=i18n:1c,2,2t --keyword=i18n:1,2,3t \
- xg-c-11.c -d xg-c-11
+ -d xg-c-11 xg-c-11.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-11.ok"
diff --git a/gettext-tools/tests/xgettext-c-3 b/gettext-tools/tests/xgettext-c-3
index 182c833..36e82e1 100755
--- a/gettext-tools/tests/xgettext-c-3
+++ b/gettext-tools/tests/xgettext-c-3
@@ -15,7 +15,7 @@ EOF
tmpfiles="$tmpfiles xg-c-3.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --add-location xg-c-3.in.c -d xg-c-3
+${XGETTEXT} --omit-header --add-location -d xg-c-3 xg-c-3.in.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-3.ok"
diff --git a/gettext-tools/tests/xgettext-c-4 b/gettext-tools/tests/xgettext-c-4
index 5dd8c0c..0f216d4 100755
--- a/gettext-tools/tests/xgettext-c-4
+++ b/gettext-tools/tests/xgettext-c-4
@@ -12,7 +12,7 @@ EOF
tmpfiles="$tmpfiles xg-c-4.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --trigraphs xg-c-4.in.c -d xg-c-4
+${XGETTEXT} --omit-header --no-location --trigraphs -d xg-c-4 xg-c-4.in.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-4.ok"
diff --git a/gettext-tools/tests/xgettext-c-5 b/gettext-tools/tests/xgettext-c-5
index a63f50d..38e1f25 100755
--- a/gettext-tools/tests/xgettext-c-5
+++ b/gettext-tools/tests/xgettext-c-5
@@ -12,7 +12,7 @@ EOF
tmpfiles="$tmpfiles xg-c-5.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --add-comments xg-c-5.in.cc -d xg-c-5
+${XGETTEXT} --omit-header --no-location --add-comments -d xg-c-5 xg-c-5.in.cc
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-5.ok"
diff --git a/gettext-tools/tests/xgettext-c-6 b/gettext-tools/tests/xgettext-c-6
index 757e9c3..b31b8c5 100755
--- a/gettext-tools/tests/xgettext-c-6
+++ b/gettext-tools/tests/xgettext-c-6
@@ -22,8 +22,8 @@ EOF
tmpfiles="$tmpfiles xg-c-6.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --add-comments=XXX xg-c-6.in.C \
- -d xg-c-6
+${XGETTEXT} --omit-header --no-location --add-comments=XXX \
+ -d xg-c-6 xg-c-6.in.C
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-6.ok"
diff --git a/gettext-tools/tests/xgettext-c-9 b/gettext-tools/tests/xgettext-c-9
index 43e7e59..ebc804b 100755
--- a/gettext-tools/tests/xgettext-c-9
+++ b/gettext-tools/tests/xgettext-c-9
@@ -26,7 +26,7 @@ EOF
tmpfiles="$tmpfiles xg-c-9.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-c-9.c -d xg-c-9
+ -d xg-c-9 xg-c-9.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-9.ok"
diff --git a/gettext-tools/tests/xgettext-csharp-5 b/gettext-tools/tests/xgettext-csharp-5
index 03e4b15..007b9e6 100755
--- a/gettext-tools/tests/xgettext-csharp-5
+++ b/gettext-tools/tests/xgettext-csharp-5
@@ -26,7 +26,7 @@ EOF
tmpfiles="$tmpfiles xg-cs-5.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-cs-5.cs -d xg-cs-5
+ -d xg-cs-5 xg-cs-5.cs
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-cs-5.ok"
diff --git a/gettext-tools/tests/xgettext-elisp-1 b/gettext-tools/tests/xgettext-elisp-1
index addbdc6..a78617f 100755
--- a/gettext-tools/tests/xgettext-elisp-1
+++ b/gettext-tools/tests/xgettext-elisp-1
@@ -21,7 +21,7 @@ EOF
tmpfiles="$tmpfiles xg-el-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-el-1.el -d xg-el-1
+ -d xg-el-1 xg-el-1.el
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-el-1.ok"
diff --git a/gettext-tools/tests/xgettext-java-5 b/gettext-tools/tests/xgettext-java-5
index 6b8307d..f391223 100755
--- a/gettext-tools/tests/xgettext-java-5
+++ b/gettext-tools/tests/xgettext-java-5
@@ -26,7 +26,7 @@ EOF
tmpfiles="$tmpfiles xg-j-5.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-j-5.java -d xg-j-5
+ -d xg-j-5 xg-j-5.java
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-j-5.ok"
diff --git a/gettext-tools/tests/xgettext-librep-1 b/gettext-tools/tests/xgettext-librep-1
index 0c92cb3..25911d4 100755
--- a/gettext-tools/tests/xgettext-librep-1
+++ b/gettext-tools/tests/xgettext-librep-1
@@ -22,7 +22,7 @@ EOF
tmpfiles="$tmpfiles xg-lr-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-lr-1.jl -d xg-lr-1
+ -d xg-lr-1 xg-lr-1.jl
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-lr-1.ok"
diff --git a/gettext-tools/tests/xgettext-lisp-1 b/gettext-tools/tests/xgettext-lisp-1
index 1db3955..aab7c26 100755
--- a/gettext-tools/tests/xgettext-lisp-1
+++ b/gettext-tools/tests/xgettext-lisp-1
@@ -22,7 +22,7 @@ EOF
tmpfiles="$tmpfiles xg-ls-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-ls-1.lisp -d xg-ls-1
+ -d xg-ls-1 xg-ls-1.lisp
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-ls-1.ok"
diff --git a/gettext-tools/tests/xgettext-objc-1 b/gettext-tools/tests/xgettext-objc-1
index 2faf22c..8ed381d 100755
--- a/gettext-tools/tests/xgettext-objc-1
+++ b/gettext-tools/tests/xgettext-objc-1
@@ -30,7 +30,7 @@ EOF
tmpfiles="$tmpfiles xg-ob-1.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header -k_ -kNSLocalizedString xg-ob-1.m -d xg-ob-1
+${XGETTEXT} --omit-header -k_ -kNSLocalizedString -d xg-ob-1 xg-ob-1.m
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-ob-1.ok"
diff --git a/gettext-tools/tests/xgettext-objc-2 b/gettext-tools/tests/xgettext-objc-2
index a4f6a20..3d6c7b2 100755
--- a/gettext-tools/tests/xgettext-objc-2
+++ b/gettext-tools/tests/xgettext-objc-2
@@ -30,7 +30,7 @@ EOF
tmpfiles="$tmpfiles xg-ob-2.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-ob-2.m -d xg-ob-2
+ -d xg-ob-2 xg-ob-2.m
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-ob-2.ok"
diff --git a/gettext-tools/tests/xgettext-perl-1 b/gettext-tools/tests/xgettext-perl-1
index 5afb325..190d231 100755
--- a/gettext-tools/tests/xgettext-perl-1
+++ b/gettext-tools/tests/xgettext-perl-1
@@ -154,7 +154,7 @@ ${XGETTEXT} --omit-header -n \
-k_ --flag=_:1:pass-perl-format --flag=_:1:pass-perl-brace-format \
-k%__ --flag=%__:1:pass-perl-format --flag=%__:1:pass-perl-brace-format \
-k\$__ --flag=\$__:1:pass-perl-format --flag=\$__:1:pass-perl-brace-format \
- xg-pl-1.pl -d xg-pl-1
+ -d xg-pl-1 xg-pl-1.pl
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-pl-1.ok"
diff --git a/gettext-tools/tests/xgettext-perl-5 b/gettext-tools/tests/xgettext-perl-5
index de64eec..c701d76 100755
--- a/gettext-tools/tests/xgettext-perl-5
+++ b/gettext-tools/tests/xgettext-perl-5
@@ -21,7 +21,7 @@ EOF
tmpfiles="$tmpfiles xg-pl-5.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-pl-5.pl -d xg-pl-5
+ -d xg-pl-5 xg-pl-5.pl
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-pl-5.ok"
diff --git a/gettext-tools/tests/xgettext-php-1 b/gettext-tools/tests/xgettext-php-1
index 2ba6f5a..050f15c 100755
--- a/gettext-tools/tests/xgettext-php-1
+++ b/gettext-tools/tests/xgettext-php-1
@@ -26,7 +26,7 @@ EOF
tmpfiles="$tmpfiles xg-ph-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-ph-1.php -d xg-ph-1
+ -d xg-ph-1 xg-ph-1.php
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-ph-1.ok"
diff --git a/gettext-tools/tests/xgettext-po-1 b/gettext-tools/tests/xgettext-po-1
index 5c733e4..0b0fc69 100755
--- a/gettext-tools/tests/xgettext-po-1
+++ b/gettext-tools/tests/xgettext-po-1
@@ -47,8 +47,8 @@ EOF
tmpfiles="$tmpfiles xg-po-1.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header -n xg-po-1.in.po \
- xg-po-1.c xg-po-1.cc -d xg-po-1
+${XGETTEXT} --omit-header -n \
+ -d xg-po-1 xg-po-1.in.po xg-po-1.c xg-po-1.cc
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-po-1.ok"
diff --git a/gettext-tools/tests/xgettext-properties-1 b/gettext-tools/tests/xgettext-properties-1
index 30c22a5..63a6cd4 100755
--- a/gettext-tools/tests/xgettext-properties-1
+++ b/gettext-tools/tests/xgettext-properties-1
@@ -44,8 +44,8 @@ EOF
tmpfiles="$tmpfiles xg-pr-1.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header -n xg-pr-1.in.properties \
- xg-pr-1.c xg-pr-1.cc -d xg-pr-1
+${XGETTEXT} --omit-header -n \
+ -d xg-pr-1 xg-pr-1.in.properties xg-pr-1.c xg-pr-1.cc
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-pr-1.ok"
diff --git a/gettext-tools/tests/xgettext-python-2 b/gettext-tools/tests/xgettext-python-2
index 88d9b9d..78b3066 100755
--- a/gettext-tools/tests/xgettext-python-2
+++ b/gettext-tools/tests/xgettext-python-2
@@ -25,7 +25,7 @@ EOF
tmpfiles="$tmpfiles xg-py-2.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-py-2.py -d xg-py-2
+ -d xg-py-2 xg-py-2.py
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-py-2.ok"
diff --git a/gettext-tools/tests/xgettext-python-3 b/gettext-tools/tests/xgettext-python-3
index 7acc806..e50b187 100755
--- a/gettext-tools/tests/xgettext-python-3
+++ b/gettext-tools/tests/xgettext-python-3
@@ -49,10 +49,10 @@ EOF
tmpfiles="$tmpfiles xg-py-3a.tmp xg-py-3a.pot"
: ${XGETTEXT=xgettext}
${XGETTEXT} --add-comments=TRANSLATORS: --no-location \
- xg-py-3a.py -d xg-py-3a > /dev/null 2>&1
+ -d xg-py-3a xg-py-3a.py > /dev/null 2>&1
test $? = 1 || { rm -fr $tmpfiles; exit 1; }
${XGETTEXT} --add-comments=TRANSLATORS: --no-location --from-code=euc-jp \
- xg-py-3a.py -o xg-py-3a.tmp
+ -o xg-py-3a.tmp xg-py-3a.py
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
grep -v 'POT-Creation-Date' < xg-py-3a.tmp > xg-py-3a.pot
@@ -64,7 +64,7 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-py-3b.tmp xg-py-3b.pot"
${XGETTEXT} --add-comments=TRANSLATORS: --no-location \
- xg-py-3b.py -o xg-py-3b.tmp
+ -o xg-py-3b.tmp xg-py-3b.py
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
grep -v 'POT-Creation-Date' < xg-py-3b.tmp > xg-py-3b.pot
@@ -76,7 +76,7 @@ test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-py-3c.tmp xg-py-3c.pot"
${XGETTEXT} --add-comments=TRANSLATORS: --no-location --from-code=iso-8859-1 \
- xg-py-3b.py -o xg-py-3c.tmp
+ -o xg-py-3c.tmp xg-py-3b.py
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
grep -v 'POT-Creation-Date' < xg-py-3c.tmp > xg-py-3c.pot
@@ -96,7 +96,7 @@ EOF
tmpfiles="$tmpfiles xg-py-3d.tmp xg-py-3d.pot"
${XGETTEXT} --add-comments=TRANSLATORS: \
- xg-py-3d.py -o xg-py-3d.tmp
+ -o xg-py-3d.tmp xg-py-3d.py
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
grep -v 'POT-Creation-Date' < xg-py-3d.tmp > xg-py-3d.pot
diff --git a/gettext-tools/tests/xgettext-scheme-1 b/gettext-tools/tests/xgettext-scheme-1
index 4bb2fe7..e179526 100755
--- a/gettext-tools/tests/xgettext-scheme-1
+++ b/gettext-tools/tests/xgettext-scheme-1
@@ -19,7 +19,7 @@ EOF
tmpfiles="$tmpfiles xg-sc-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} -k_ --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-sc-1.scm -d xg-sc-1
+ -d xg-sc-1 xg-sc-1.scm
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-sc-1.ok"
diff --git a/gettext-tools/tests/xgettext-sh-1 b/gettext-tools/tests/xgettext-sh-1
index 87f9199..a1c2863 100755
--- a/gettext-tools/tests/xgettext-sh-1
+++ b/gettext-tools/tests/xgettext-sh-1
@@ -468,7 +468,7 @@ tmpfiles="$tmpfiles xg-sh-1.po"
: ${XGETTEXT=xgettext}
# Here we use ngettext with two signatures: ngettext:1 and ngettext:1,2.
${XGETTEXT} --omit-header --no-location --keyword=ngettext:1 \
- xg-sh-1.sh -d xg-sh-1
+ -d xg-sh-1 xg-sh-1.sh
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-sh-1.ok"
diff --git a/gettext-tools/tests/xgettext-sh-2 b/gettext-tools/tests/xgettext-sh-2
index 395ed83..fb9cf12 100755
--- a/gettext-tools/tests/xgettext-sh-2
+++ b/gettext-tools/tests/xgettext-sh-2
@@ -21,7 +21,7 @@ EOF
tmpfiles="$tmpfiles xg-sh-2.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-sh-2.sh -d xg-sh-2
+ -d xg-sh-2 xg-sh-2.sh
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-sh-2.ok"
diff --git a/gettext-tools/tests/xgettext-sh-3 b/gettext-tools/tests/xgettext-sh-3
index 9345a35..4af390f 100755
--- a/gettext-tools/tests/xgettext-sh-3
+++ b/gettext-tools/tests/xgettext-sh-3
@@ -12,7 +12,7 @@ EOF
tmpfiles="$tmpfiles xg-sh-3.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location xg-sh-3.sh -d xg-sh-3
+${XGETTEXT} --omit-header --no-location -d xg-sh-3 xg-sh-3.sh
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-sh-3.ok"
diff --git a/gettext-tools/tests/xgettext-sh-4 b/gettext-tools/tests/xgettext-sh-4
index eda8d43..1bb467b 100755
--- a/gettext-tools/tests/xgettext-sh-4
+++ b/gettext-tools/tests/xgettext-sh-4
@@ -118,7 +118,7 @@ EOF
tmpfiles="$tmpfiles xg-sh-4.err xg-sh-4.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location xg-sh-4.sh -d xg-sh-4 2>xg-sh-4.err
+${XGETTEXT} --omit-header --no-location -d xg-sh-4 xg-sh-4.sh 2>xg-sh-4.err
test $? = 0 || { cat xg-sh-4.err; rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-sh-4.ok"
diff --git a/gettext-tools/tests/xgettext-smalltalk-1 b/gettext-tools/tests/xgettext-smalltalk-1
index 6695590..b2e4bdf 100755
--- a/gettext-tools/tests/xgettext-smalltalk-1
+++ b/gettext-tools/tests/xgettext-smalltalk-1
@@ -22,7 +22,7 @@ EOF
tmpfiles="$tmpfiles xg-st-1.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-st-1.st -d xg-st-1
+ -d xg-st-1 xg-st-1.st
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-st-1.ok"
diff --git a/gettext-tools/tests/xgettext-stringtable-1 b/gettext-tools/tests/xgettext-stringtable-1
index 85340ff..a136c43 100755
--- a/gettext-tools/tests/xgettext-stringtable-1
+++ b/gettext-tools/tests/xgettext-stringtable-1
@@ -25,7 +25,7 @@ EOF
tmpfiles="$tmpfiles xg-st-1.tmp xg-st-1.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} xg-st-1.strings -o xg-st-1.tmp
+${XGETTEXT} -o xg-st-1.tmp xg-st-1.strings
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
grep -v 'POT-Creation-Date' < xg-st-1.tmp > xg-st-1.po
diff --git a/gettext-tools/tests/xgettext-tcl-2 b/gettext-tools/tests/xgettext-tcl-2
index b572b5e..a209c91 100755
--- a/gettext-tools/tests/xgettext-tcl-2
+++ b/gettext-tools/tests/xgettext-tcl-2
@@ -21,7 +21,7 @@ EOF
tmpfiles="$tmpfiles xg-t-2.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: -k_ \
- xg-t-2.tcl -d xg-t-2
+ -d xg-t-2 xg-t-2.tcl
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-t-2.ok"
diff --git a/gettext-tools/tests/xgettext-ycp-2 b/gettext-tools/tests/xgettext-ycp-2
index 08d8112..279035c 100755
--- a/gettext-tools/tests/xgettext-ycp-2
+++ b/gettext-tools/tests/xgettext-ycp-2
@@ -24,7 +24,7 @@ EOF
tmpfiles="$tmpfiles xg-y-2.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
- xg-y-2.ycp -d xg-y-2
+ -d xg-y-2 xg-y-2.ycp
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-y-2.ok"