DORMANTno replies

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:08
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>

---

 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help