summaryrefslogtreecommitdiff
path: root/t/t4006-diff-mode.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j.sixt@viscovery.net>2012-05-02 07:36:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-05-02 16:46:41 (GMT)
commit9380aed286df31dcb31fd6ae467b69471c8cf148 (patch)
tree1d32c9adff2cdb17c3cd4c4675bb91931081a7a6 /t/t4006-diff-mode.sh
parent352ca4e105e6fb37cad97b80f2640d28b133ca9d (diff)
downloadgit-9380aed286df31dcb31fd6ae467b69471c8cf148.zip
git-9380aed286df31dcb31fd6ae467b69471c8cf148.tar.gz
git-9380aed286df31dcb31fd6ae467b69471c8cf148.tar.bz2
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>
Diffstat (limited to 't/t4006-diff-mode.sh')
-rwxr-xr-xt/t4006-diff-mode.sh2
1 files changed, 1 insertions, 1 deletions
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
'