remote-helpers: tests: use python directly
commit02a607260fdbaed7717935df68fb76b1a6e577c0
authorFelipe Contreras <felipe.contreras@gmail.com>
Fri, 17 May 2013 21:10:07 +0000 (17 16:10 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 May 2013 18:59:44 +0000 (21 11:59 -0700)
treebf379afa72ed9cd91b36571183af0560957ee562
parent5e49f30c85ecacec98631462fa73f1148a01637c
remote-helpers: tests: use python directly

These remote helpers use 'env python', not PYTHON_PATH, so that's where
we should check for the extensions. Otherwise, if 'python' is not
PYTHON_PATH (e.g. /usr/bin/python: Makefile's default), there will be a
mismatch between the python libraries actually accessible to the remote
helpers.

Suggested by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/test-bzr.sh
contrib/remote-helpers/test-hg-bidi.sh
contrib/remote-helpers/test-hg-hg-git.sh
contrib/remote-helpers/test-hg.sh