From: Eric Wong <normalperson@yhbt.net>
To: Ryan Anderson <ryan@michonline.com>
Cc: junkio@cox.net, git@vger.kernel.org
Subject: [PATCH] t8001-annotate: fix a bash-ism in this test
Date: Tue, 4 Jul 2006 01:04:24 -0700 [thread overview]
Message-ID: <20060704080424.GA31612@soma> (raw)
In-Reply-To: <11519766033852-git-send-email-ryan@michonline.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
t/t8001-annotate.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh
index 70e2ad2..3a6490e 100755
--- a/t/t8001-annotate.sh
+++ b/t/t8001-annotate.sh
@@ -8,8 +8,8 @@ PROG='git annotate'
test_expect_success \
'Annotating an old revision works' \
- '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") == 2 ] && \
- [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") == 2 ]'
+ '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && \
+ [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") -eq 2 ]'
test_done
--
1.4.1.g4148
next prev parent reply other threads:[~2006-07-04 8:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-04 1:30 [PATCH 0/2] Fix handling of merges in git-annotate Ryan Anderson
2006-07-04 1:30 ` [PATCH 1/2] annotate: Support annotation of files on other revisions Ryan Anderson
2006-07-04 1:30 ` [PATCH 2/2] annotate: Correct most merge following to annotate correctly Ryan Anderson
2006-07-04 8:04 ` Eric Wong [this message]
2006-07-04 8:46 ` [PATCH] t8001-annotate: fix a bash-ism in this test Junio C Hamano
2006-07-04 1:34 ` [PATCH 0/2] Fix handling of merges in git-annotate Ryan Anderson
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=20060704080424.GA31612@soma \
--to=normalperson@yhbt.net \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=ryan@michonline.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).