]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Avoid testsuite bug in presence of verbose config.site.
authorEric Blake <ebb9@byu.net>
Wed, 10 Sep 2008 20:06:33 +0000 (14:06 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 10 Sep 2008 20:06:33 +0000 (14:06 -0600)
* tests/base.at (Input/Output): Nullify config.site during test.
Reported by Bob Friesenhahn.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/base.at

index 4d5349306714228f16b25b6efe1c4ffa4e480a8a..fa0aa49d404cf309e2e4d2e3abb10bc6e76a1f7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-09-10  Eric Blake  <ebb9@byu.net>
+
+       Avoid testsuite bug in presence of verbose config.site.
+       * tests/base.at (Input/Output): Nullify config.site during test.
+       Reported by Bob Friesenhahn.
+
 2008-09-09  Eric Blake  <ebb9@byu.net>
 
        Release Version 2.63.
index d85a1b5dee104afa7d754e17f8a33c52dc22474c..883db251d8c0b53c183c32d26fde5b5a596f0512 100644 (file)
@@ -2,7 +2,7 @@
 
 AT_BANNER([Autoconf base layer.])
 
-# Copyright (C) 2000, 2001, 2003, 2005, 2006, 2007 Free Software
+# Copyright (C) 2000, 2001, 2003, 2005, 2006, 2007, 2008 Free Software
 # Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
@@ -294,15 +294,14 @@ AT_CLEANUP
 
 AT_SETUP([Input/Output])
 
-m4_pattern_allow([^AS_(MESSAGE|ORIGINAL_STDIN)_FD$])
 AT_DATA([configure.ac],
 [[AC_INIT
-cat <&AS_ORIGINAL_STDIN_FD >&AS_MESSAGE_FD
+cat <&AS@&t@_ORIGINAL_STDIN_FD >&AS@&t@_MESSAGE_FD
 ]])
 AT_CHECK_AUTOCONF
-AT_CHECK([echo Hello | ./configure | grep -v 'configure: loading site script '],, [Hello
+AT_CHECK([echo Hello | CONFIG_SITE=/dev/null ./configure | grep -v 'configure: loading site script '],, [Hello
 ])
-AT_CHECK([echo Hello | ./configure --silent])
+AT_CHECK([echo Hello | CONFIG_SITE=/dev/null ./configure --silent])
 
 AT_CLEANUP