#!/bin/sh global test_description := ''git annotate'' source ./test-lib.sh global PROG := ''git annotate'' source "$TEST_DIRECTORY"/annotate-tests.sh test_expect_success 'annotate old revision' ' git annotate file master >actual && awk "{ print \$3; }" authors && test 2 = $(grep A )} spids: [4] ) ] spids: [4] ) (C {(.)} {(./test-lib.sh)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:PROG) op:Equal rhs:{(SQ <"git annotate">)} spids:[14])] spids: [14] ) (C {(.)} {(DQ ($ VSub_Name "$TEST_DIRECTORY")) (/annotate-tests.sh)}) (C {(test_expect_success)} {(SQ <"annotate old revision">)} { (SQ <"\n"> <"\tgit annotate file master >actual &&\n"> <"\tawk \"{ print \\$3; }\" authors &&\n"> <"\ttest 2 = $(grep A <"\ttest 2 = $(grep B ) } ) (C {(test_done)}) ] )