From: Stefano Lattarini Date: Mon, 19 Nov 2012 21:56:22 +0000 (+0100) Subject: tests: fix a spurious failure when $PYTHON is in the environment X-Git-Tag: v1.12.6~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d73b276595cd1c6d57998e4148601dbf2844425;p=thirdparty%2Fautomake.git tests: fix a spurious failure when $PYTHON is in the environment * t/python11.sh: This test doesn't interact well with user-overrides of $PYTHON; and, given its particular nature, neither should it be expected to honour that override. Just unset that $PYTHON variable and live happy. Signed-off-by: Stefano Lattarini --- diff --git a/t/python11.sh b/t/python11.sh index e86d30e7f..a22826c6d 100755 --- a/t/python11.sh +++ b/t/python11.sh @@ -19,6 +19,9 @@ # Python is not required for this test. . ./defs || exit 1 +# We don't want to allow user overrides in this test. +PYTHON=; unset PYTHON + cat >>configure.ac <<'EOF' m4_define([_AM_PYTHON_INTERPRETER_LIST], [IShouldNotExist1 IShouldNotExist2]) AM_PATH_PYTHON