aboutsummaryrefslogtreecommitdiff
path: root/t/t7700-repack.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7700-repack.sh')
-rwxr-xr-xt/t7700-repack.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/t/t7700-repack.sh b/t/t7700-repack.sh
index 73b78bdd88..63ef63fc50 100755
--- a/t/t7700-repack.sh
+++ b/t/t7700-repack.sh
@@ -217,6 +217,7 @@ test_expect_success 'repack --keep-pack' '
cd keep-pack &&
# avoid producing different packs due to delta/base choices
git config pack.window 0 &&
+ git config maintenance.auto false &&
P1=$(commit_and_pack 1) &&
P2=$(commit_and_pack 2) &&
P3=$(commit_and_pack 3) &&
@@ -260,6 +261,7 @@ test_expect_success 'repacking fails when missing .pack actually means missing o
# Avoid producing different packs due to delta/base choices
git config pack.window 0 &&
+ git config maintenance.auto false &&
P1=$(commit_and_pack 1) &&
P2=$(commit_and_pack 2) &&
P3=$(commit_and_pack 3) &&
@@ -319,7 +321,7 @@ test_expect_success 'no bitmaps created if .keep files present' '
test_expect_success 'auto-bitmaps do not complain if unavailable' '
test_config -C bare.git pack.packSizeLimit 1M &&
- blob=$(test-tool genrandom big $((1024*1024)) |
+ blob=$(test-tool genrandom big 1m |
git -C bare.git hash-object -w --stdin) &&
git -C bare.git update-ref refs/tags/big $blob &&
@@ -495,9 +497,9 @@ test_expect_success '--filter works with --max-pack-size' '
cd max-pack-size &&
test_commit base &&
# two blobs which exceed the maximum pack size
- test-tool genrandom foo 1048576 >foo &&
+ test-tool genrandom foo 1m >foo &&
git hash-object -w foo &&
- test-tool genrandom bar 1048576 >bar &&
+ test-tool genrandom bar 1m >bar &&
git hash-object -w bar &&
git add foo bar &&
git commit -m "adding foo and bar"
@@ -534,6 +536,7 @@ test_expect_success 'setup for --write-midx tests' '
(
cd midx &&
git config core.multiPackIndex true &&
+ git config maintenance.auto false &&
test_commit base
)