Skip to content

Commit

Permalink
t5400-send-pack relies on a working cpio
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Oct 10, 2005
1 parent d9c74a8 commit 18e410f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/t5400-send-pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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) &&
Expand Down

0 comments on commit 18e410f

Please sign in to comment.