]>
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' |
bfdbee98 | 7 | . "$TEST_DIRECTORY"/annotate-tests.sh |
7c3ecb65 | 8 | |
e37f39c1 ES |
9 | test_expect_success 'annotate old revision' ' |
10 | git annotate file master >actual && | |
11 | awk "{ print \$3; }" <actual >authors && | |
4b705f40 JH |
12 | test 2 = $(grep A <authors | wc -l) && |
13 | test 2 = $(grep B <authors | wc -l) | |
14 | ' | |
f560069b | 15 | |
7c3ecb65 | 16 | test_done |