From 63b747ce1a4074a42b8f7fb5d6266489983ec38c Mon Sep 17 00:00:00 2001 From: Jonathan Tan Date: Fri, 9 Sep 2016 10:36:28 -0700 Subject: tests: move test_lazy_prereq JGIT to test-lib.sh This enables JGIT to be used as a prereq in invocations of test_expect_success (and other functions) in other test scripts. Signed-off-by: Jonathan Tan Signed-off-by: Junio C Hamano --- t/t5310-pack-bitmaps.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 't/t5310-pack-bitmaps.sh') diff --git a/t/t5310-pack-bitmaps.sh b/t/t5310-pack-bitmaps.sh index 3893afd687..1e376ea39e 100755 --- a/t/t5310-pack-bitmaps.sh +++ b/t/t5310-pack-bitmaps.sh @@ -158,10 +158,6 @@ test_expect_success 'pack with missing parent' ' git pack-objects --stdout --revs /dev/null ' -test_lazy_prereq JGIT ' - type jgit -' - test_expect_success JGIT 'we can read jgit bitmaps' ' git clone . compat-jgit && ( -- cgit v1.2.3