Git 1.7.2
[gitweb.git] / t / t5800-remote-helpers.sh
index eb31709b979011142f04079583e8340474cb8695..637d8e97ac4d220437ac168dcce49dfd33aa7a24 100755 (executable)
@@ -7,6 +7,18 @@ test_description='Test remote-helper import and export commands'
 
 . ./test-lib.sh
 
+if test_have_prereq PYTHON && "$PYTHON_PATH" -c '
+import sys
+if sys.hexversion < 0x02040000:
+    sys.exit(1)
+'
+then
+       :
+else
+       skip_all='skipping git remote-testgit tests: requires Python 2.4 or newer'
+       test_done
+fi
+
 test_expect_success 'setup repository' '
        git init --bare server/.git &&
        git clone server public &&