(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:-1 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:[899092-1])
        (case_arm pat_list:[{(Lit_Other '*')}] action:[(C {(Exit)} {(1)})] spids:[9596101-1])
      ]
      spids: [82 86 103]
    )
    (AndOr
      children: [
        (Pipeline
          children: [
            (SimpleCommand
              words: [{(tr)} {(-d)} {(SQ <'\\015'>)}]
              redirects: [(Redir op_id:Redir_Less fd:-1 arg_word:{(err)} spids:[114])]
            )
            (SimpleCommand
              words: [{(sed)} {(SQ <'s,.*test-xalloc-die[.ex]*:,test-xalloc-die:,'>)}]
              redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(err2)} spids:[128])]
            )
          ]
          negated: False
        )
        (C {(Exit)} {(1)})
      ]
      op_id: Op_DPipe
    )
    (AndOr
      children: [
        (SimpleCommand
          words: [{(compare)} {(-)} {(err2)}]
          redirects: [
            (HereDoc
              op_id: Redir_DLess
              fd: -1
              body: {('test-xalloc-die: memory exhausted\n')}
              do_expansion: False
              here_end: EOF
              was_filled: True
              spids: [145]
            )
          ]
        )
        (C {(Exit)} {(1)})
      ]
      op_id: Op_DPipe
    )
    (AndOr children:[(C {(test)} {(-s)} {(out)})(C {(Exit)} {(1)})] op_id:Op_DAmp)
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)