Skip to content

Commit

Permalink
t8001-annotate: fix a bash-ism in this test
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Jul 4, 2006
1 parent 280242d commit 4d62eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t8001-annotate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4d62eaa

Please sign in to comment.