blob: 70e2ad23ae2bdc80aed196f2618c957d98d78410 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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$") == 2 ] && \
[ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") == 2 ]'
test_done
|