@ -165,15 +165,15 @@ test_expect_success 'master: no redundant for pack 1, 2, 3' '
# | T A B C D E F G H I J K L M N O P Q R
# | T A B C D E F G H I J K L M N O P Q R
# ----+--------------------------------------
# ----+--------------------------------------
# P1 | x x x x x x x x
# P1 | x x x x x x x x
# P2* | ! ! ! ! ! ! !
# P2 | x x x x x x x
# P3 | x x x x x x
# P3* | ! ! ! ! ! !
# P4 | x x x x x
# P4 | x x x x x
# P5 | x x x x
# P5 | x x x x
# ----+--------------------------------------
# ----+--------------------------------------
# ALL | x x x x x x x x x x x x x x x x x x
# ALL | x x x x x x x x x x x x x x x x x x
#
#
#############################################################################
#############################################################################
test_expect_failure 'master: one of pack-2/pack-3 is redundant (failed on Mac)' '
test_expect_success 'master: one of pack-2/pack-3 is redundant' '
create_pack_in "$master_repo" P4 <<-EOF &&
create_pack_in "$master_repo" P4 <<-EOF &&
$J
$J
$K
$K
@ -190,7 +190,7 @@ test_expect_failure 'master: one of pack-2/pack-3 is redundant (failed on Mac)'
(
(
cd "$master_repo" &&
cd "$master_repo" &&
cat >expect <<-EOF &&
cat >expect <<-EOF &&
P2:$P2
P3:$P3
EOF
EOF
git pack-redundant --all >out &&
git pack-redundant --all >out &&
format_packfiles <out >actual &&
format_packfiles <out >actual &&
@ -214,7 +214,7 @@ test_expect_failure 'master: one of pack-2/pack-3 is redundant (failed on Mac)'
# ALL | x x x x x x x x x x x x x x x x x x x
# ALL | x x x x x x x x x x x x x x x x x x x
#
#
#############################################################################
#############################################################################
test_expect_failure 'master: pack 2, 4, and 6 are redundant (failed on Mac)' '
test_expect_success 'master: pack 2, 4, and 6 are redundant' '
create_pack_in "$master_repo" P6 <<-EOF &&
create_pack_in "$master_repo" P6 <<-EOF &&
$N
$N
$O
$O
@ -254,7 +254,7 @@ test_expect_failure 'master: pack 2, 4, and 6 are redundant (failed on Mac)' '
# ALL | x x x x x x x x x x x x x x x x x x x
# ALL | x x x x x x x x x x x x x x x x x x x
#
#
#############################################################################
#############################################################################
test_expect_failure 'master: pack-8 (subset of pack-1) is also redundant (failed on Mac)' '
test_expect_success 'master: pack-8 (subset of pack-1) is also redundant' '
create_pack_in "$master_repo" P8 <<-EOF &&
create_pack_in "$master_repo" P8 <<-EOF &&
$A
$A
EOF
EOF
@ -281,7 +281,7 @@ test_expect_success 'master: clean loose objects' '
)
)
'
'
test_expect_failure 'master: remove redundant packs and pass fsck (failed on Mac)' '
test_expect_success 'master: remove redundant packs and pass fsck' '
(
(
cd "$master_repo" &&
cd "$master_repo" &&
git pack-redundant --all | xargs rm &&
git pack-redundant --all | xargs rm &&
@ -301,7 +301,7 @@ test_expect_success 'setup shared.git' '
)
)
'
'
test_expect_failure 'shared: all packs are redundant, but no output without --alt-odb (failed on Mac)' '
test_expect_success 'shared: all packs are redundant, but no output without --alt-odb' '
(
(
cd "$shared_repo" &&
cd "$shared_repo" &&
git pack-redundant --all >out &&
git pack-redundant --all >out &&
@ -334,7 +334,7 @@ test_expect_failure 'shared: all packs are redundant, but no output without --al
# ALL | x x x x x x x x x x x x x x x x x x x
# ALL | x x x x x x x x x x x x x x x x x x x
#
#
#############################################################################
#############################################################################
test_expect_failure 'shared: show redundant packs in stderr for verbose mode (failed on Mac)' '
test_expect_success 'shared: show redundant packs in stderr for verbose mode' '
(
(
cd "$shared_repo" &&
cd "$shared_repo" &&
cat >expect <<-EOF &&
cat >expect <<-EOF &&