(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_)} {(stat)})
    (AndOr ops:[Op_DPipe] children:[(C {(touch)} {(file)}) (C {(framework_failure_)})])
    (AndOr ops:[Op_DPipe] children:[(C {(mkdir)} {(dir)}) (C {(framework_failure_)})])
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(ln)} {(-s)} {(file)} {(link1)}) (C {(framework_failure_)})]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(ln)} {(-s)} {(dir)} {(link2)}) (C {(framework_failure_)})]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(cat)}]
          redirects: [
            (HereDoc
              op_id: Redir_DLess
              fd: 16777215
              body: {(DQ ('link1\n') ('symbolic link\n') ('directory\n') ('directory\n'))}
              do_expansion: True
              here_end: EOF
              was_filled: T
              spids: [108]
            )
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[111])
          ]
        )
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(stat)} {(--format) (Lit_Other '=') (Lit_Other '%') (n)} {(link1)}]
          redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[137])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[143])]
          spids: [143]
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (SimpleCommand
          words: [{(stat)} {(--format) (Lit_Other '=') (Lit_Other '%') (n)} {(link1/)}]
          redirects: [(Redir op_id:Redir_DGreat fd:16777215 arg_word:{(out)} spids:[155])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[161])]
          spids: [161]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(stat)} {(--format) (Lit_Other '=') (Lit_Other '%') (F)} {(link2)}]
          redirects: [(Redir op_id:Redir_DGreat fd:16777215 arg_word:{(out)} spids:[174])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[180])]
          spids: [180]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(stat)} {(-L)} {(--format) (Lit_Other '=') (Lit_Other '%') (F)} {(link2)}]
          redirects: [(Redir op_id:Redir_DGreat fd:16777215 arg_word:{(out)} spids:[194])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[200])]
          spids: [200]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(stat)} {(--format) (Lit_Other '=') (Lit_Other '%') (F)} {(link2/)}]
          redirects: [(Redir op_id:Redir_DGreat fd:16777215 arg_word:{(out)} spids:[212])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[218])]
          spids: [218]
        )
      ]
    )
    (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:[230])]
          spids: [230]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)