Code

t5400-send-pack relies on a working cpio
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 10 Oct 2005 21:14:22 +0000 (14:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 10 Oct 2005 21:14:22 +0000 (14:14 -0700)
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>
t/t5400-send-pack.sh

index 1a4d2f2f13d4875d92e94cfa686ac42d3556ee24..7fc3bd7d3e9c7761a1c64073be95129d3e93bae8 100755 (executable)
@@ -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) &&