bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gettext test case port to POSIXLY_CORRECT environments


From: Paul Eggert
Subject: gettext test case port to POSIXLY_CORRECT environments
Date: Wed, 18 Jun 2003 00:00:21 -0700 (PDT)

A gettext test case invokes msgcat with options after a file name,
and this doesn't work if POSIXLY_CORRECT is set to 1.  Here's a patch.

2003-06-17  Paul Eggert  <address@hidden>

        * gettext-tools/tests/msgcat-7: Put msgcat options before file name,
        so that the test doesn't fail if POSIXLY_CORRECT is set.

--- gettext-tools/tests/msgcat-7        2002-01-08 03:26:36.000000000 -0800
+++ /tmp/msgcat-7       2003-06-17 23:57:43.690709920 -0700
@@ -21,7 +21,7 @@
 tmpfiles="$tmpfiles mcat-test7.out"
 rm -f mcat-test7.out
 : ${MSGCAT=msgcat}
-${MSGCAT} mcat-test7.in1 --sort-output -o mcat-test7.out
+${MSGCAT} --sort-output -o mcat-test7.out mcat-test7.in1
 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
 
 tmpfiles="$tmpfiles mcat-test7.ok"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]