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

[PATCH] t5400-send-pack relies on a working cpio

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 10, 2005, 15:37 UTC
Message-ID
<Pine.LNX.4.63.0510101735530.6277@wbgn013.biozentrum.uni-wuerzburg.de>

Since cygwin does not install cpio by default, t5400 results in a very cryptic failure. So, test for cpio explicitely.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 t/t5400-send-pack.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

applies-to: c1b731620114e8b58054b944865e3bf361f941f5 d3bafb81a99406258cfb318344a176264c269427

diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index 1a4d2f2..7fc3bd7 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -8,6 +8,9 @@ test_description='See why rewinding head
 '
 . ./test-lib.sh
 
+touch cpio-test
+test_expect_success 'working cpio' 'echo cpio-test | cpio -o > /dev/null'
+
 cnt='1'
 test_expect_success setup '
 	tree=$(git-write-tree) &&
---
0.99.8.GIT
Message 1 of 1 in “t5400-send-pack relies on a working cpio”
  1. t5400-send-pack relies on a working cpioJohannes Schindelin, Oct 10, 2005

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.