Skip to content

Commit 18e410f

Browse files
dschoJunio C Hamano
authored andcommitted
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>
1 parent d9c74a8 commit 18e410f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/t5400-send-pack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ test_description='See why rewinding head breaks send-pack
88
'
99
. ./test-lib.sh
1010

11+
touch cpio-test
12+
test_expect_success 'working cpio' 'echo cpio-test | cpio -o > /dev/null'
13+
1114
cnt='1'
1215
test_expect_success setup '
1316
tree=$(git-write-tree) &&

0 commit comments

Comments
 (0)