threads / patch / 2057

patcht5400-send-pack relies on a working cpio

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

## tl;dr

One message between Oct 10, 2005 and Oct 10, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johannes Schindelin· Oct 10, 2005, 15:37 UTC · lore

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

Show changes to t/t5400-send-pack.sh +3 −0
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

← back to recent threads