acl-devel
[Top][All Lists]
Advanced

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

[PATCH acl/committed] tests: disable translations


From: Mike Frysinger
Subject: [PATCH acl/committed] tests: disable translations
Date: Fri, 1 Dec 2023 07:08:49 -0500

The getfacl-noacl test matches error output that breaks when it's
translated, even when using just diff quoting style with English.
Force all tool output to the C locale so we get stable untranslated
output all the time.
---
 test/Makemodule.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/Makemodule.am b/test/Makemodule.am
index 17d4927f932f..e1d715de3904 100644
--- a/test/Makemodule.am
+++ b/test/Makemodule.am
@@ -33,5 +33,6 @@ libtestlookup_la_SOURCES = test/test_passwd.c 
test/test_group.c
 libtestlookup_la_CFLAGS = -DBASEDIR=\"$(abs_srcdir)\"
 libtestlookup_la_LDFLAGS = -rpath $(abs_builddir)
 
-AM_TESTS_ENVIRONMENT = PATH="$(abs_top_builddir):$$PATH";
+# Make sure translations don't break tests when matching output.
+AM_TESTS_ENVIRONMENT = PATH="$(abs_top_builddir):$$PATH"; export LC_MESSAGES=C;
 TEST_LOG_COMPILER = $(srcdir)/test/runwrapper
-- 
2.43.0




reply via email to

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