t5583: fix shebang line
[alt-git.git] / t / t8001-annotate.sh
blobd7167f55397f57f35a75eccff662c13b4f712ec8
1 #!/bin/sh
3 test_description='git annotate'
4 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
5 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
7 TEST_CREATE_REPO_NO_TEMPLATE=1
8 . ./test-lib.sh
10 PROG='git annotate'
11 . "$TEST_DIRECTORY"/annotate-tests.sh
13 test_expect_success 'annotate old revision' '
14 git annotate file main >actual &&
15 awk "{ print \$3; }" <actual >authors &&
16 test 2 = $(grep A <authors | wc -l) &&
17 test 2 = $(grep B <authors | wc -l)
20 test_done