(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_description) op: Equal rhs: {(SQ <"test unique sha1 abbreviation on \"index from..to\" line">)} spids: [4] ) ] spids: [4] ) (C {(.)} {(./test-lib.sh)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id:Redir_Great fd:-1 arg_word:{(expect_initial)} spids:[16]) (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("100644 blob 51d2738463ea4ca66f8691c91e33ce64b7d41bb1\tfoo\n"))} do_expansion: True here_end: EOF was_filled: True spids: [19] ) ] ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id:Redir_Great fd:-1 arg_word:{(expect_update)} spids:[26]) (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("100644 blob 51d2738efb4ad8a1e40bed839ab8e116f0a15e47\tfoo\n"))} do_expansion: True here_end: EOF was_filled: True spids: [29] ) ] ) (C {(test_expect_success)} {(SQ <setup>)} { (SQ <"\n"> <"\techo 4827 > foo &&\n"> <"\tgit add foo &&\n"> <"\tgit commit -m \"initial\" &&\n"> <"\tgit cat-file -p HEAD: > actual &&\n"> <"\ttest_cmp expect_initial actual &&\n"> <"\techo 11742 > foo &&\n"> <"\tgit commit -a -m \"update\" &&\n"> <"\tgit cat-file -p HEAD: > actual &&\n"> <"\ttest_cmp expect_update actual\n"> ) } ) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op_id:Redir_Great fd:-1 arg_word:{(expect)} spids:[56]) (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ("index 51d27384..51d2738e 100644\n"))} do_expansion: True here_end: EOF was_filled: True spids: [59] ) ] ) (C {(test_expect_success)} {(SQ <"diff does not produce ambiguous index line">)} { (SQ <"\n"> <"\tgit diff HEAD^..HEAD | grep index > actual &&\n"> <"\ttest_cmp expect actual\n">) } ) (C {(test_done)}) ] )