* t/ax/test-defs.in: Set `CONFIG_SITE' to `/dev/null' to prevent the
system's Autoconf site defaults from breaking the test environment.
---
 t/ax/test-defs.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/t/ax/test-defs.in b/t/ax/test-defs.in
index 755445494..9aed4ae10 100644
--- a/t/ax/test-defs.in
+++ b/t/ax/test-defs.in
@@ -22,6 +22,10 @@
 #   - Multiple inclusions of this file should be idempotent.
 #   - This code has to be 'set -e' clean.
 
+# Ensure a consistent test environment by ignoring the system's Autoconf
+# `configure` site defaults.
+CONFIG_SITE=/dev/null; export CONFIG_SITE
+
 # See whether the current test script is expected to use TAP or not.
 # Use a sensible default, while allowing the scripts to override this check.
 if test -z "$am_test_protocol"; then
-- 
2.48.1




Reply via email to