From: Johannes Sixt Date: Wed, 02 May 2012 07:36:44 GMT Subject: Re: [PATCH 2/4] tests: check --[short]stat output after chmod Message-ID: <4FA0E40C.6030809@viscovery.net> In-Reply-To: <1335892215-21331-3-git-send-email-zbyszek@in.waw.pl> Am 5/1/2012 19:10, schrieb Zbigniew Jędrzejewski-Szmek: > +test_expect_success 'prepare binary file' ' > + git commit -m rezrov && > + dd if=/dev/zero of=binbin bs=1024 count=1 && > + git add binbin && > + git commit -m binbin > +' Please squash in this fixup; we do not have /dev/zero on Windows. diff --git a/t/t4006-diff-mode.sh b/t/t4006-diff-mode.sh index 693bfc4..7a3e1f9 100755 --- a/t/t4006-diff-mode.sh +++ b/t/t4006-diff-mode.sh @@ -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 ' -- 1.7.10.1.1568.gede6096