mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
![Eric Wong](/assets/img/avatar_default.png)
Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
16 lines
343 B
Bash
Executable file
16 lines
343 B
Bash
Executable file
#!/bin/sh
|
|
|
|
test_description='git-annotate'
|
|
. ./test-lib.sh
|
|
|
|
PROG='git annotate'
|
|
. ../annotate-tests.sh
|
|
|
|
test_expect_success \
|
|
'Annotating an old revision works' \
|
|
'[ $(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
|