git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 5/5] t5325: 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
<7d0017342d4f9f81a1ec74ab02aac0d3d44d38ff.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 t5325 with `--threads=1`.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
---
 t/t5325-reverse-index.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t5325-reverse-index.sh b/t/t5325-reverse-index.sh
index 431a603ca0..dc3d2235e8 100755
--- a/t/t5325-reverse-index.sh
+++ b/t/t5325-reverse-index.sh
@@ -64,7 +64,7 @@ test_expect_success 'index-pack can verify reverse indexes' '
 	chmod u+w $rev &&
 	printf "xxxx" | dd of=$rev bs=1 count=4 conv=notrunc &&
 
-	test_must_fail git index-pack --rev-index --verify \
+	test_must_fail git index-pack --threads=1 --rev-index --verify \
 		$packdir/pack-$pack.pack 2>err &&
 	grep "validation error" err
 '
-- 
2.43.0.288.g906e6a084d
Previous: Taylor BlauNext: Jeff King
Message 11 of 12 in “index-pack: spawn threads atomically”
  1. index-pack: spawn threads atomicallyJeff King, Jan 5, 2024
  2. Taylor BlauJan 5, 2024
  3. Jeff KingJan 10, 2024
  4. Taylor BlauJan 10, 2024
  5. 1/5 t5309: run expected-to-fail `index-pack`s with `--threads=1`Taylor Blau, Jan 10, 2024
  6. Junio C HamanoJan 10, 2024
  7. Taylor BlauJan 10, 2024
  8. 2/5 t5302: run expected-to-fail `index-pack`s with `--threads=1`Taylor Blau, Jan 10, 2024
  9. 3/5 t5308: run expected-to-fail `index-pack`s with `--threads=1`Taylor Blau, Jan 10, 2024
  10. 4/5 t5313: run expected-to-fail `index-pack`s with `--threads=1`Taylor Blau, Jan 10, 2024
  11. 5/5 t5325: run expected-to-fail `index-pack`s with `--threads=1`Taylor Blau, Jan 10, 2024
  12. Jeff KingJan 11, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.