X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5800-remote-helpers.sh;h=637d8e97ac4d220437ac168dcce49dfd33aa7a24;hb=07cd900112b19657531a1f5c2a15e639d98fbd18;hp=75a0163c074724513accc9f2a482d72d9e51532c;hpb=3c0ae1bd729284d6cdb7a4bc3cb3d8cfe9fd08c1;p=git.git diff --git a/t/t5800-remote-helpers.sh b/t/t5800-remote-helpers.sh index 75a0163c0..637d8e97a 100755 --- a/t/t5800-remote-helpers.sh +++ b/t/t5800-remote-helpers.sh @@ -7,9 +7,15 @@ test_description='Test remote-helper import and export commands' . ./test-lib.sh -if ! test_have_prereq PYTHON +if test_have_prereq PYTHON && "$PYTHON_PATH" -c ' +import sys +if sys.hexversion < 0x02040000: + sys.exit(1) +' then - say 'skipping git remote-testgit tests: requires Python support' + : +else + skip_all='skipping git remote-testgit tests: requires Python 2.4 or newer' test_done fi