(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)})
    (FuncDef
      name: cleanup_
      body: 
        (BraceGroup
          children: [
            (Sentence
              child: (C {(rm)} {(-rf)} {(DQ ($ VSub_Name '$other_partition_tmpdir'))})
              terminator: <Op_Semi ';'>
            )
          ]
          spids: [71]
        )
      spids: [67 70]
    )
    (C {(.)} {(DQ ($ VSub_Name '$abs_srcdir') (/tests/other-fs-tmpdir))})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:rem_file)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$other_partition_tmpdir') (/file))}
          spids: [92]
        )
      ]
      spids: [92]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:rem_symlink)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$other_partition_tmpdir') (/symlink))}
          spids: [98]
        )
      ]
      spids: [98]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:file) op:Equal rhs:{(to-sym)} spids:[104])]
      spids: [104]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(echo)} {(Assign_Local local)}]
          redirects: [
            (Redir
              op_id: Redir_Great
              fd: 16777215
              arg_word: {($ VSub_Name '$file')}
              spids: [112]
            )
          ]
        )
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(echo)} {(remote)}]
          redirects: [
            (Redir
              op_id: Redir_Great
              fd: 16777215
              arg_word: {($ VSub_Name '$rem_file')}
              spids: [124]
            )
          ]
        )
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(ln)} {(-s)} {($ VSub_Name '$rem_file')} {($ VSub_Name '$rem_symlink')})
        (C {(framework_failure_)})
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(mv)} {($ VSub_Name '$file')} {($ VSub_Name '$rem_symlink')})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[159])]
          spids: [159]
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (C {(test)} {(-f)} {($ VSub_Name '$file')})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[174])]
          spids: [174]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(test)} 
          {
            (CommandSubPart
              command_list: (CommandList children:[(C {(cat)} {($ VSub_Name '$rem_file')})])
              left_token: <Left_CommandSub '$('>
              spids: [183 187]
            )
          } {(Lit_Other '=')} {(remote)}
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[195])]
          spids: [195]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)