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

1 messages from 2005-10-10 to 2005-10-10. Participants: Johannes Schindelin.
Thread: https://gitlist.dev/t/2057

## Johannes Schindelin, 2005-10-10 15:37

Subject: [PATCH] t5400-send-pack relies on a working cpio
Message-ID: <Pine.LNX.4.63.0510101735530.6277@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0510101735530.6277%40wbgn013.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

```
