зеркало из https://github.com/microsoft/git.git
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:
Родитель
352ca4e105
Коммит
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
|
||||
'
|
||||
|
|
Загрузка…
Ссылка в новой задаче