Revision 8165952517bf82b6a632cefc047ad14f36a74b25 authored by Junio C Hamano on 19 April 2010, 08:28:27 UTC, committed by Junio C Hamano on 19 April 2010, 08:28:27 UTC
* maint-1.6.6:
  MSVC: Fix build by adding missing termios.h dummy
2 parent s 03aa87e + b756864
Raw File
t8001-annotate.sh
#!/bin/sh

test_description='git annotate'
. ./test-lib.sh

PROG='git annotate'
. "$TEST_DIRECTORY"/annotate-tests.sh

test_expect_success \
    'Annotating an old revision works' \
    '[ $(git annotate file master | awk "{print \$3}" | grep -c "^A$") -eq 2 ] && \
     [ $(git annotate file master | awk "{print \$3}" | grep -c "^B$") -eq 2 ]'


test_done
back to top