Re: [PATCH 2/4] tests: check --[short]stat output after chmod
Am 5/1/2012 19:10, schrieb Zbigniew Jędrzejewski-Szmek:
Show 6 quoted lines
> +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