Subject: Re: [PATCH 2/4] tests: check --[short]stat output after chmod

From: Johannes Sixt <[email-masked]>
Date: Wed, 02 May 2012 09:36:44 +0200

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