(command.CommandList
  children: [
    (command.CommandList
      children: [
        (command.Sentence
          child: 
            (C {<.>} 
              {
                (DQ 
                  (braced_var_sub
                    token: <Id.VSub_Name srcdir>
                    suffix_op: (suffix_op.Unary tok:<Id.VTest_Equals '='> arg_word:{<.>})
                  ) <'/init.sh'>
                )
              }
            )
          terminator: <Id.Op_Semi _>
        )
        (C {<path_prepend_>} {<.>})
      ]
    )
    (command.Simple
      words: [{<test-xalloc-die> (${ Id.VSub_Name EXEEXT)}]
      redirects: [
        (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>})
        (redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<err>})
      ]
      do_fork: T
    )
    (command.Case
      to_match: {($ Id.VSub_QMark '$?')}
      arms: [
        (case_arm pat_list:[{<1>}] spids:[89 90 92 -1])
        (case_arm
          pat_list: [{<Id.Lit_Star '*'>}]
          action: [(C {<Exit>} {<1>})]
          spids: [95 96 101 -1]
        )
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.Pipeline
          children: [
            (command.Simple
              words: [{<tr>} {<-d>} {(SQ <'\\015'>)}]
              redirects: [(redir op:<Id.Redir_Less '<'> loc:(redir_loc.Fd fd:0) arg:{<err>})]
              do_fork: T
            )
            (command.Simple
              words: [{<sed>} {(SQ <'s,.*test-xalloc-die[.ex]*:,test-xalloc-die:,'>)}]
              redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<err2>})]
              do_fork: T
            )
          ]
          negated: F
        )
        (C {<Exit>} {<1>})
      ]
    )
    (command.AndOr
      ops: [Id.Op_DPipe]
      children: [
        (command.Simple
          words: [{<compare>} {<->} {<err2>}]
          redirects: [
            (redir
              op: <Id.Redir_DLess '<<'>
              loc: (redir_loc.Fd fd:0)
              arg: 
                (redir_param.HereDoc
                  here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'>) <OF>}
                  here_end_span_id: 156
                  stdin_parts: [<'test-xalloc-die: memory exhausted\n'>]
                )
            )
          ]
          do_fork: T
        )
        (C {<Exit>} {<1>})
      ]
    )
    (command.AndOr ops:[Id.Op_DAmp] children:[(C {<test>} {<-s>} {<out>}) (C {<Exit>} {<1>})])
    (C {<Exit>} {($ Id.VSub_DollarName '$fail')})
  ]
)