(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))})
    (SimpleCommand
      words: [{(Lit_Other ':')}]
      redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(file)} spids:[91])]
    )
    (C {(chmod)} {(Lit_VarLike 'a=') (rwx)} {(file)})
    (C {(umask)} {(077)})
    (C {(mv)} {(file)} {(DQ ($ VSub_Name '$other_partition_tmpdir'))})
    (AndOr
      ops: [Op_DAmp]
      children: [
        (C {(test)} {(-f)} {(file)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[124])]
          spids: [124]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(test)} {(-f)} {(DQ ($ VSub_Name '$other_partition_tmpdir') (/file))})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[138])]
          spids: [138]
        )
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:mode)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [
                      (Pipeline
                        children: [
                          (C {(ls)} {(-l)} {(DQ ($ VSub_Name '$other_partition_tmpdir') (/file))})
                          (C {(cut)} {(-b-10)})
                        ]
                        negated: F
                      )
                    ]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [146 161]
              )
            }
          spids: [145]
        )
      ]
      spids: [145]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(test)} {(DQ ($ VSub_Name '$mode'))} {(Lit_Other '=')} {(DQ (-rwxrwxrwx))})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[177])]
          spids: [177]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)