aboutsummaryrefslogtreecommitdiffstats
path: root/t/t6102-rev-list-unexpected-objects.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t6102-rev-list-unexpected-objects.sh')
-rwxr-xr-xt/t6102-rev-list-unexpected-objects.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/t6102-rev-list-unexpected-objects.sh b/t/t6102-rev-list-unexpected-objects.sh
index 5d28507efc..eb98b3919c 100755
--- a/t/t6102-rev-list-unexpected-objects.sh
+++ b/t/t6102-rev-list-unexpected-objects.sh
@@ -2,9 +2,14 @@
test_description='git rev-list should handle unexpected object types'
-TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
+if ! test_have_prereq PERL_TEST_HELPERS
+then
+ skip_all='skipping rev-list unexpected objects tests; Perl not available'
+ test_done
+fi
+
test_expect_success 'setup well-formed objects' '
blob="$(printf "foo" | git hash-object -w --stdin)" &&
tree="$(printf "100644 blob $blob\tfoo" | git mktree)" &&