(command.CommandList children: [ (command.Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (lhs_expr.LhsName name:test_description spids:[21]) op: Equal rhs: {(SQ <'Test revision walking api'>)} spids: [21] ) ] spids: [21] ) (C {(.)} {(./test-lib.sh)}) (command.SimpleCommand words: [{(cat)}] redirects: [ (redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(run_twice_expected)}) (redir.HereDoc op: <Redir_DLessDash '<<-'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 47 stdin_parts: [('1st\n') (' > add b\n') (' > add a\n') ('2nd\n') (' > add b\n') (' > add a\n')] ) ] ) (C {(test_expect_success)} {(SQ <setup>)} { (SQ <'\n'> <'\techo a > a &&\n'> <'\tgit add a &&\n'> <'\tgit commit -m "add a" &&\n'> <'\techo b > b &&\n'> <'\tgit add b &&\n'> <'\tgit commit -m "add b"\n'> ) } ) (C {(test_expect_success)} {(SQ <'revision walking can be done twice'>)} { (SQ <'\n'> <'\ttest-revision-walking run-twice >run_twice_actual &&\n'> <'\ttest_cmp run_twice_expected run_twice_actual\n'> ) } ) (C {(test_done)}) ] )