t8001-annotate: fix a bash-ism in this test
Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Eric Wong committed
Jul 4, 2006 at 01:04 UTC
4d62eaabeb283d6dab56cfb2f2e54144b98afafd
1 file changed
+2
-2
t/t8001-annotate.sh
+2
-2
@@ -8,8 +8,8 @@ PROG='git annotate'
8
9
test_expect_success \
10
'Annotating an old revision works' \
11
- '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") == 2 ] && \
12
- [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") == 2 ]'
11
+ '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && \
12
+ [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") -eq 2 ]'
13
14
15
test_done