From: Ralf Wildenhues Date: Sat, 23 May 2009 21:08:31 +0000 (+0200) Subject: testsuite: unset installation directory variables. X-Git-Tag: v1.11.1~15^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c93b3e7b7cf3182857fc43e0588ce42fa574e5;p=thirdparty%2Fautomake.git testsuite: unset installation directory variables. * tests/defs.in: Before test execution, be sure to unset all installation directory variables, so they cannot have an effect on a `make -e install' command within a test. Report by Dagobert Michelsen. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index c20ffbcde..cac030200 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-05-23 Ralf Wildenhues + testsuite: unset installation directory variables. + * tests/defs.in: Before test execution, be sure to unset all + installation directory variables, so they cannot have an effect + on a `make -e install' command within a test. + Report by Dagobert Michelsen. + testsuite: do not change the mode of installed Libtool files. * tests/defs.in: Do not use `chmod -R' on the test directory, as that may change or try to change the mode of installed files: diff --git a/tests/defs.in b/tests/defs.in index 0254d3afe..d1366f15b 100644 --- a/tests/defs.in +++ b/tests/defs.in @@ -300,9 +300,14 @@ END unset MFLAGS unset MAKEFLAGS unset MAKELEVEL -unset DESTDIR # Unset verbosity flag. unset V +# Also unset variables that will let `make -e install' divert +# files into unwanted directories. +unset DESTDIR +unset prefix exec_prefix bindir datarootdir datadir docdir dvidir +unset htmldir includedir infodir libdir libexecdir localedir mandir +unset oldincludedir pdfdir psdir sbindir sharedstatedir sysconfdir # Also unset variables that control our test driver. While not # conceptually independent, they cause some changed semantics we # need to control (and test for) in some of the tests to ensure