[PATCH 3/5] t5308: run expected-to-fail `index-pack`s with `--threads=1`
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Jan 10, 2024, 17:55 UTC
- Message-ID
- <0170befabd160bd98a32372f14b5e1e9bbcb1069.1704909216.git.me@ttaylorr.com>
- In-Reply-To
- <ZZ7VEVXSg1T8ZkIK@nand.local>
For identical reasons as in the previous commit, apply the same treatment to expected-to-fail `index-pack` invocations in t5308 with `--threads=1`.
Signed-off-by: Taylor Blau <me@ttaylorr.com> --- t/t5308-pack-detect-duplicates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t5308-pack-detect-duplicates.sh b/t/t5308-pack-detect-duplicates.sh index 655cafa054..5df552a42e 100755 --- a/t/t5308-pack-detect-duplicates.sh +++ b/t/t5308-pack-detect-duplicates.sh @@ -76,7 +76,7 @@ test_expect_success 'lookup in duplicated pack' ' test_expect_success 'index-pack can reject packs with duplicates' ' clear_packs && create_pack dups.pack 2 && - test_must_fail git index-pack --strict --stdin <dups.pack && + test_must_fail git index-pack --threads=1 --strict --stdin <dups.pack && test_expect_code 1 git cat-file -e $LO_SHA1 '
-- 2.43.0.288.g906e6a084d