1
0
mirror of https://github.com/git/git.git synced 2024-09-29 15:31:53 +02:00
git/t/t8001-annotate.sh

16 lines
341 B
Bash
Raw Normal View History

#!/bin/sh
test_description='git-annotate'
. ./test-lib.sh
PROG='git annotate'
. ../annotate-tests.sh
test_expect_success \
'Annotating an old revision works' \
'[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") == 2 ] && \
[ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") == 2 ]'
test_done