(CommandList
  children: [
    (Sentence
      child: 
        (C {(.)} 
          {
            (DQ 
              (BracedVarSub
                token: <VSub_Name srcdir>
                suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(.)})
                spids: [47 51]
              ) (/tests/init.sh)
            )
          }
        )
      terminator: <Op_Semi ';'>
    )
    (C {(path_prepend_)} {(./src)})
    (C {(print_ver_)} {(ls)})
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(mkdir)} {(-p)} {(dir/subdir)}) (C {(framework_failure_)})]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(touch)} {(dir/subdir/file2)}) (C {(framework_failure_)})]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(ln)} {(-s)} {(f)} {(symlink)}) (C {(framework_failure_)})]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(cat)}]
          redirects: [
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[98])
            (HereDoc
              op_id: Redir_DLess
              fd: 16777215
              body: {('dir\n') ('exp\n') ('out\n') ('symlink\n')}
              do_expansion: False
              here_end: EOF
              was_filled: T
              spids: [102]
            )
          ]
        )
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(ls)} {(-1)}]
          redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[116])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[122])]
          spids: [122]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(compare)} {(exp)} {(out)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[134])]
          spids: [134]
        )
      ]
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[140])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: 
            {('.:\n') ('dir\n') ('exp\n') ('out\n') ('symlink\n') ('\n') ('./dir:\n') ('subdir\n') ('\n') 
              ('./dir/subdir:\n') ('file2\n')
            }
          do_expansion: False
          here_end: EOF
          was_filled: T
          spids: [144]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(ls)} {(-R1)}]
          redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[153])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[159])]
          spids: [159]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(compare)} {(exp)} {(out)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[171])]
          spids: [171]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)