* msgexec-1: Filter out msgexec's warning about locale charset.
* msgexec-2: Likewise.
- * msgexec-4: Likewise.
+ * msgexec-4: Likewise. Explain why this test fails on mingw.
2009-08-10 Bruno Haible <bruno@clisp.org>
# Test msgexec on a PO file with contexts.
+# This test fails on mingw (in a Cygwin environment), due to the combination
+# of two reasons:
+# 1. The value of the environment variable MSGEXEC_MSGCTXT is stored
+# in UTF-8 encoding (i.e. the PO file's encoding); it should be stored
+# in the GetACP() encoding instead. This problem is inherent in msgexec,
+# and msgexec warns about it - but in this test, we filter the warnings
+# away.
+# 2. The child process is Cygwin's sh.exe, and is affected by a Cygwin bug:
+# the values returned by getenv() in the child process, when the parent
+# process is a mingw program, are in the GetOEMCP() encoding (should be
+# in the GetACP() encoding). This has been reported at
+# <http://cygwin.com/ml/cygwin/2009-08/msg00430.html>.
+
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15