summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-11-19 22:56:22 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-11-19 23:10:51 +0100
commit1d73b276595cd1c6d57998e4148601dbf2844425 (patch)
tree8bfeced71f3bace25d4ea2032a94092ab485b118
parente1acf4a06f5a8d9e861455ac29abb4944a446494 (diff)
downloadautomake-1d73b276595cd1c6d57998e4148601dbf2844425.tar.gz
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 <stefano.lattarini@gmail.com>
-rwxr-xr-xt/python11.sh3
1 files changed, 3 insertions, 0 deletions
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