(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_)} {(mv)})
    (FuncDef
      name: cleanup_
      body: 
        (BraceGroup
          children: [
            (Sentence
              child: (C {(rm)} {(-rf)} {(DQ ($ VSub_Name '$other_partition_tmpdir'))})
              terminator: <Op_Semi ';'>
            )
          ]
          spids: [68]
        )
      spids: [64 67]
    )
    (C {(.)} {(DQ ($ VSub_Name '$abs_srcdir') (/tests/other-fs-tmpdir))})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:a)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$other_partition_tmpdir') (/a))}
          spids: [89]
        )
      ]
      spids: [89]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:a2)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$other_partition_tmpdir') ('/a~'))}
          spids: [95]
        )
      ]
      spids: [95]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(rm)} {(-f)} {(DQ ($ VSub_Name '$a'))} {(DQ ($ VSub_Name '$a2'))})
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(echo)} {(a)}]
          redirects: [
            (Redir
              op_id: Redir_Great
              fd: 16777215
              arg_word: {(DQ ($ VSub_Name '$a'))}
              spids: [122]
            )
          ]
        )
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(echo)} {(a2)}]
          redirects: [
            (Redir
              op_id: Redir_Great
              fd: 16777215
              arg_word: {(DQ ($ VSub_Name '$a2'))}
              spids: [136]
            )
          ]
        )
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (SimpleCommand
          words: [
            {(mv)}
            {(--b) (Lit_Other '=') (simple)}
            {(DQ ($ VSub_Name '$a2'))}
            {(DQ ($ VSub_Name '$a'))}
          ]
          redirects: [
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[164])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[168])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[173])]
          spids: [173]
        )
      ]
    )
    (SimpleCommand
      words: [
        {(sed)}
        {(-e)}
        {(DQ ('s,mv:,XXX:,'))}
        {(-e)}
        {(DQ ('s,') ($ VSub_Name '$a') (',YYY,'))}
        {(-e)}
        {(DQ ('s,') ($ VSub_Name '$a2') (',ZZZ,'))}
        {(out)}
      ]
      redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(out2)} spids:[211])]
    )
    (SimpleCommand
      words: [{(cat)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[218])
        (HereDoc
          op_id: Redir_DLess
          fd: 16777215
          body: {("XXX: backing up 'YYY' would destroy source;  'ZZZ' not moved\n")}
          do_expansion: False
          here_end: EOF
          was_filled: T
          spids: [222]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(compare)} {(exp)} {(out2)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[235])]
          spids: [235]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)