]>
Commit | Line | Data |
---|---|---|
7c3ecb65 RA |
1 | #!/bin/sh |
2 | ||
5be60078 | 3 | test_description='git annotate' |
7c3ecb65 RA |
4 | . ./test-lib.sh |
5 | ||
8752d11d | 6 | PROG='git annotate' |
8ad02bc9 | 7 | . ../annotate-tests.sh |
7c3ecb65 | 8 | |
f560069b RA |
9 | test_expect_success \ |
10 | 'Annotating an old revision works' \ | |
4d62eaab EW |
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 ]' | |
f560069b RA |
13 | |
14 | ||
7c3ecb65 | 15 | test_done |