All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery.net>
To: "Zbigniew Jędrzejewski-Szmek" <zbyszek@in.waw.pl>
Cc: git@vger.kernel.org, gitster@pobox.com, mj@ucw.cz
Subject: Re: [PATCH 2/4] tests: check --[short]stat output after chmod
Date: Wed, 02 May 2012 09:36:44 +0200	[thread overview]
Message-ID: <4FA0E40C.6030809@viscovery.net> (raw)
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

  reply	other threads:[~2012-05-02  7:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-01 17:10 [PATCH 0/4] report chmod'ed binary files the same as text files Zbigniew Jędrzejewski-Szmek
2012-05-01 17:10 ` [PATCH 1/4] test: modernize style of t4006 Zbigniew Jędrzejewski-Szmek
2012-05-01 18:00   ` Junio C Hamano
2012-05-01 19:55     ` Zbigniew Jędrzejewski-Szmek
2012-05-01 17:10 ` [PATCH 2/4] tests: check --[short]stat output after chmod Zbigniew Jędrzejewski-Szmek
2012-05-02  7:36   ` Johannes Sixt [this message]
2012-05-01 17:10 ` [PATCH 3/4] diff --stat: report chmoded binary files like text files Zbigniew Jędrzejewski-Szmek
2012-05-01 18:27   ` Junio C Hamano
2012-05-01 19:39     ` Zbigniew Jędrzejewski-Szmek
2012-05-01 17:10 ` [PATCH 4/4] diff --stat: do not run diff on indentical files Zbigniew Jędrzejewski-Szmek
2012-05-03 11:45 ` [PATCH 0/4] report chmod'ed binary files the same as text files Martin Mares

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA0E40C.6030809@viscovery.net \
    --to=j.sixt@viscovery.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=mj@ucw.cz \
    --cc=zbyszek@in.waw.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.