From: Johannes Schindelin Date: Mon, 10 Oct 2005 21:14:22 +0000 (-0700) Subject: t5400-send-pack relies on a working cpio X-Git-Tag: v0.99.8d~9^2 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=18e410f1eaaf8e3e82dca9f124782b099ead7612;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh index 1a4d2f2f..7fc3bd7d 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) &&