(CommandList
  children: [
    (Sentence
      child: 
        (C {(.)} 
          {
            (DQ 
              (BracedVarSub
                token: <VSub_Name srcdir>
                suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(.)})
                spids: [55 59]
              ) (/init.sh)
            )
          }
        )
      terminator: <Op_Semi ';'>
    )
    (C {(path_prepend_)} {(.)})
    (SimpleCommand
      words: [{(test-xalloc-die) (${ VSub_Name EXEEXT)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[74])
        (Redir op_id:Redir_Great fd:2 arg_word:{(err)} spids:[78])
      ]
    )
    (Case
      to_match: {($ VSub_QMark '$?')}
      arms: [
        (case_arm pat_list:[{(1)}] spids:[89 90 92 16777215])
        (case_arm
          pat_list: [{(Lit_Other '*')}]
          action: [(C {(Exit)} {(1)})]
          spids: [95 96 101 16777215]
        )
      ]
      spids: [82 86 103]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (Pipeline
          children: [
            (SimpleCommand
              words: [{(tr)} {(-d)} {(SQ <'\\015'>)}]
              redirects: [(Redir op_id:Redir_Less fd:16777215 arg_word:{(err)} spids:[114])]
            )
            (SimpleCommand
              words: [{(sed)} {(SQ <'s,.*test-xalloc-die[.ex]*:,test-xalloc-die:,'>)}]
              redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(err2)} spids:[128])]
            )
          ]
          negated: F
        )
        (C {(Exit)} {(1)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(compare)} {(-)} {(err2)}]
          redirects: [
            (HereDoc
              op_id: Redir_DLess
              fd: 16777215
              body: {('test-xalloc-die: memory exhausted\n')}
              do_expansion: False
              here_end: EOF
              was_filled: T
              spids: [145]
            )
          ]
        )
        (C {(Exit)} {(1)})
      ]
    )
    (AndOr ops:[Op_DAmp] children:[(C {(test)} {(-s)} {(out)}) (C {(Exit)} {(1)})])
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)