(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:test_description)
          op: Equal
          rhs: {(SQ <'Test revision walking api'>)}
          spids: [13]
        )
      ]
      spids: [13]
    )
    (C {(.)} {(./test-lib.sh)})
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:-1 arg_word:{(run_twice_expected)} spids:[26])
        (HereDoc
          op_id: Redir_DLessDash
          fd: -1
          body: {(DQ ('1st\n') (' > add b\n') (' > add a\n') ('2nd\n') (' > add b\n') (' > add a\n'))}
          do_expansion: True
          here_end: EOF
          was_filled: True
          spids: [29]
        )
      ]
    )
    (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)})
  ]
)