t / t8001-annotate.shon commit t7005-editor: get rid of the SPACES_IN_FILENAMES prereq (4362da0)
   1#!/bin/sh
   2
   3test_description='git annotate'
   4. ./test-lib.sh
   5
   6PROG='git annotate'
   7. "$TEST_DIRECTORY"/annotate-tests.sh
   8
   9test_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)
  14'
  15
  16test_done