mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
t4006: Windows do not have /dev/zero
We only need to have a file with _some_ binary contents; be nice to our Windows friends and avoid using /dev/zero Signed-off-by: Johannes Sixt <j.sixt@viscovery.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
352ca4e105
commit
9380aed286
@ -27,7 +27,7 @@ test_expect_success 'chmod' '
|
||||
|
||||
test_expect_success 'prepare binary file' '
|
||||
git commit -m rezrov &&
|
||||
dd if=/dev/zero of=binbin bs=1024 count=1 &&
|
||||
printf "\00\01\02\03\04\05\06" >binbin &&
|
||||
git add binbin &&
|
||||
git commit -m binbin
|
||||
'
|
||||
|
Loading…
Reference in New Issue
Block a user