aboutsummaryrefslogtreecommitdiff
path: root/t/t5400-send-pack.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-10-10 14:14:22 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-10 14:14:22 -0700
commit18e410f1eaaf8e3e82dca9f124782b099ead7612 (patch)
tree79708733bd0be1c7860e88c598aae56b50d73a6a /t/t5400-send-pack.sh
parentd9c74a808e988146edd1f4ae463285554cb024bd (diff)
downloadgit-18e410f1eaaf8e3e82dca9f124782b099ead7612.tar.gz
git-18e410f1eaaf8e3e82dca9f124782b099ead7612.tar.xz
t5400-send-pack relies on a working cpio
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> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t5400-send-pack.sh')
-rwxr-xr-xt/t5400-send-pack.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index 1a4d2f2f1..7fc3bd7d3 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -8,6 +8,9 @@ test_description='See why rewinding head breaks send-pack
'
. ./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) &&