[PATCH] tests: don't let config.site affect testsuite

Eric Blake <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <[email protected]>
Test 236 "configure directories" failed for me on 64-bit Fedora 20;
it boiled down to the system's config.site causing libdir to
default to /usr/lib64 instead of the autoconf default of /usr/lib.

* tests/base.at (configure directories): Neutralize any preinstalled
config.site from the system.

Signed-off-by: Eric Blake <[email protected]>
---
 tests/base.at | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/base.at b/tests/base.at
index 0a9fff6..33a7cfa 100644
--- a/tests/base.at
+++ b/tests/base.at
@@ -682,6 +682,9 @@ AT_CLEANUP

 AT_SETUP([configure directories])

+CONFIG_SITE=/dev/null
+export CONFIG_SITE
+
 AT_DATA([foo.in],
 [[prefix=@prefix@
 exec_prefix=@exec_prefix@
-- 
1.8.4.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.