summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 280242d)
raw | patch | inline | side by side (parent: 280242d)
author | Eric Wong <normalperson@yhbt.net> | |
Tue, 4 Jul 2006 08:04:24 +0000 (01:04 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 4 Jul 2006 09:55:52 +0000 (02:55 -0700) |
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t8001-annotate.sh | patch | blob | history |
diff --git a/t/t8001-annotate.sh b/t/t8001-annotate.sh
index 70e2ad23ae2bdc80aed196f2618c957d98d78410..3a6490e8f864b3b3193a7b86d54a0e8d81d0dd20 100755 (executable)
--- a/t/t8001-annotate.sh
+++ b/t/t8001-annotate.sh
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