Browse Source

Merge branch 'sg/t5310-jgit-bitmap-test'

Test update.

* sg/t5310-jgit-bitmap-test:
  t5310-pack-bitmaps: make JGit tests work with GIT_TEST_SPLIT_INDEX
maint
Junio C Hamano 7 years ago
parent
commit
c4e7220f08
  1. 8
      t/t5310-pack-bitmaps.sh

8
t/t5310-pack-bitmaps.sh

@ -264,9 +264,9 @@ test_expect_success 'pack with missing parent' ' @@ -264,9 +264,9 @@ test_expect_success 'pack with missing parent' '
'

test_expect_success JGIT 'we can read jgit bitmaps' '
git clone . compat-jgit &&
git clone --bare . compat-jgit.git &&
(
cd compat-jgit &&
cd compat-jgit.git &&
rm -f .git/objects/pack/*.bitmap &&
jgit gc &&
git rev-list --test-bitmap HEAD
@ -274,9 +274,9 @@ test_expect_success JGIT 'we can read jgit bitmaps' ' @@ -274,9 +274,9 @@ test_expect_success JGIT 'we can read jgit bitmaps' '
'

test_expect_success JGIT 'jgit can read our bitmaps' '
git clone . compat-us &&
git clone --bare . compat-us.git &&
(
cd compat-us &&
cd compat-us.git &&
git repack -adb &&
# jgit gc will barf if it does not like our bitmaps
jgit gc

Loading…
Cancel
Save