MinGW: 64-bit file offsets
[git/platforms.git] / t / t8001-annotate.sh
blob45cb60ea4b167676b07ae1c847c0467f2a5e3d69
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 \
10 'Annotating an old revision works' \
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 ]'
15 test_done