automake-patches
[Top][All Lists]
Advanced

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

[FYI] {testsuite-work} tests defs: one more environment sanitization (co


From: Stefano Lattarini
Subject: [FYI] {testsuite-work} tests defs: one more environment sanitization (corner case)
Date: Wed, 4 May 2011 10:27:06 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

* tests/defs (am__using_gmake): Initialize.  The `using_gmake'
subroutine was using this variable for caching, but wasn't
initializing it, which could cause problems in the (admittedly
very unlikely) case in which it was pre-existent in the
environment.
---
 ChangeLog  |    9 +++++++++
 tests/defs |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2ad40b9..eda448e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2011-05-03  Stefano Lattarini  <address@hidden>
 
+       tests defs: one more environment sanitization (corner case)
+       * tests/defs (am__using_gmake): Initialize.  The `using_gmake'
+       subroutine was using this variable for caching, but wasn't
+       initializing it, which could cause problems in the (admittedly
+       very unlikely) case in which it was pre-existent in the
+       environment.
+
+2011-05-03  Stefano Lattarini  <address@hidden>
+
        tests: add forgotten test scripts to $(TESTS)
        * tests/Makefile.am (TESTS): Added test scripts  man[678].test,
        which have been present on the filesystem and in the repository,
diff --git a/tests/defs b/tests/defs
index d85abf0..44c5b3b 100644
--- a/tests/defs
+++ b/tests/defs
@@ -190,6 +190,7 @@ using_gmake ()
       Exit 99;;
   esac
 }
+am__using_gmake="" # Avoid interferences from the environment.
 
 commented_sed_unindent_prog='
   /^$/b                    # Nothing to do for empty lines.
-- 
1.7.2.3




reply via email to

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