tests defs: one more environment sanitization (corner case)
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 3 May 2011 21:40:00 +0000 (23:40 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 3 May 2011 21:40:00 +0000 (23:40 +0200)
* 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
tests/defs

index 2ad40b9..eda448e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2011-05-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       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  <stefano.lattarini@gmail.com>
+
        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,
index d85abf0..44c5b3b 100644 (file)
@@ -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.