From 1d73b276595cd1c6d57998e4148601dbf2844425 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 19 Nov 2012 22:56:22 +0100 Subject: 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 --- t/python11.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.1