(CommandList
  children: [
    (Sentence
      child: 
        (C {(.)} 
          {
            (DQ 
              (BracedVarSub
                token: <VSub_Name srcdir>
                suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(.)})
                spids: [50 54]
              ) (/tests/init.sh)
            )
          }
        )
      terminator: <Op_Semi ';'>
    )
    (C {(path_prepend_)} {(./src)})
    (C {(print_ver_)} {(mv)})
    (AndOr
      ops: [Op_DPipe]
      children: [(C {(mkdir)} {(-p)} {(a/t)} {(b/t)}) (C {(framework_failure_)})]
    )
    (AndOr ops:[Op_DPipe] children:[(C {(touch)} {(a/t/f)}) (C {(framework_failure_)})])
    (AndOr
      ops: [Op_DAmp]
      children: [
        (SimpleCommand
          words: [{(mv)} {(b/t)} {(a)}]
          redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(out)} spids:[105])]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[111])]
          spids: [111]
        )
      ]
    )
    (Sentence
      child: 
        (SimpleCommand
          words: [{(sed)} {(SQ <'s/: File exists/: Directory not empty/'>)}]
          redirects: [
            (Redir op_id:Redir_Less fd:16777215 arg_word:{(out)} spids:[123])
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(o1)} spids:[125])
          ]
        )
      terminator: <Op_Semi ';'>
    )
    (C {(mv)} {(o1)} {(out)})
    (Sentence
      child: 
        (SimpleCommand
          words: [{(sed)} {(SQ <'s/: Device or resource busy/: Directory not empty/'>)}]
          redirects: [
            (Redir op_id:Redir_Less fd:16777215 arg_word:{(out)} spids:[139])
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(o1)} spids:[141])
          ]
        )
      terminator: <Op_Semi ';'>
    )
    (C {(mv)} {(o1)} {(out)})
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(cat)}]
          redirects: [
            (HereDoc
              op_id: Redir_DLess
              fd: 16777215
              body: {("mv: cannot move 'b/t' to 'a/t': Directory not empty\n")}
              do_expansion: False
              here_end: EOF
              was_filled: T
              spids: [153]
            )
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[157])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[163])]
          spids: [163]
        )
      ]
    )
    (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:[175])]
          spids: [175]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)