refspec: factor out parsing a single refspec
[git.git] / t / t8001-annotate.sh
blob72176e42c1d188f03f319b5a9acd954c5fe8ab6a
1 #!/bin/sh
3 test_description='git annotate'
4 . ./test-lib.sh
6 PROG='git annotate'
7 . "$TEST_DIRECTORY"/annotate-tests.sh
9 test_expect_success 'annotate old revision' '
10 git annotate file master >actual &&
11 awk "{ print \$3; }" <actual >authors &&
12 test 2 = $(grep A <authors | wc -l) &&
13 test 2 = $(grep B <authors | wc -l)
16 test_done