(CommandList children: [ (Sentence child: (C {(.)} { (DQ (BracedVarSub token: <VSub_Name srcdir> suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(.)}) spids: [53 57] ) (/tests/init.sh) ) } ) terminator: <Op_Semi ';'> ) (C {(path_prepend_)} {(./src)}) (C {(print_ver_)} {(mv)}) (C {(skip_if_root_)}) (FuncDef name: cleanup_ body: (BraceGroup children: [ (Sentence child: (C {(rm)} {(-rf)} {(DQ ($ VSub_Name '$other_partition_tmpdir'))}) terminator: <Op_Semi ';'> ) ] spids: [76] ) spids: [72 75] ) (C {(.)} {(DQ ($ VSub_Name '$abs_srcdir') (/tests/other-fs-tmpdir))}) (C {(expensive_)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:b) op: Equal rhs: { (DQ ('0 1 2 3 4 5 6 7 8 9\n') ('a b c d e f g h i j k l m n o p q r s t u v w x y z\n') ('_A _B _C _D _E _F _G _H _I _J _K _L _M _N _O _P _Q _R _S _T _U _V _W _X _Y _Z') ) } spids: [106] ) ] spids: [106] ) (ForEach iter_name: i iter_words: [ { (CommandSubPart command_list: (CommandList children:[(C {(echo)} {($ VSub_Name '$b')})]) left_token: <Left_CommandSub '$('> spids: [120 124] ) } ] do_arg_iter: F body: (DoGroup children: [ (C {(echo)} {($ VSub_Name '$i')}) (ForEach iter_name: j iter_words: [{($ VSub_Name '$b')}] do_arg_iter: F body: (DoGroup children: [(C {(echo)} {($ VSub_Name '$i') ($ VSub_Name '$j')})] spids: [144 153] ) spids: [140 142] ) ] spids: [127 155] ) redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(.dirs)} spids:[157])] spids: [119 125] ) (AndOr ops: [Op_DPipe] children: [ (C {(mkdir)} { (CommandSubPart command_list: (CommandList children:[(C {(cat)} {(.dirs)})]) left_token: <Left_CommandSub '$('> spids: [163 167] ) } ) (C {(framework_failure_)}) ] ) (Pipeline children: [(C {(sed)} {(SQ <'s,$,/f,'>)} {(.dirs)}) (C {(xargs)} {(touch)})] negated: F ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:last_file) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(tail)} {(-n1)} {(.dirs)})]) left_token: <Left_CommandSub '$('> spids: [189 195] ) (/f) } spids: [188] ) ] spids: [188] ) (AndOr ops: [Op_DPipe] children: [(C {(test)} {(-f)} {($ VSub_Name '$last_file')}) (C {(framework_failure_)})] ) (AndOr ops: [Op_DPipe] children: [ (C {(mv)} {(Lit_Other '*')} {(DQ ($ VSub_Name '$other_partition_tmpdir'))}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[220])] spids: [220] ) ] ) (AndOr ops: [Op_DAmp] children: [ (C {(test)} {(-f)} {($ VSub_Name '$last_file') (/f)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[232])] spids: [232] ) ] ) (C {(rm)} {(.dirs)}) (AndOr ops: [Op_DPipe] children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:out) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(ls)} {(-A)})]) left_token: <Left_CommandSub '$('> spids: [241 245] ) } spids: [240] ) ] spids: [240] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[249])] spids: [249] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(test)} {(-z)} {(DQ ($ VSub_Name '$out'))}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[262])] spids: [262] ) ] ) (C {(Exit)} {($ VSub_Name '$fail')}) ] )