(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_)} {(id)}) (C {(require_root_)}) (AndOr ops: [Op_DPipe] children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:g) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(id)} {(-u)} {($ VSub_Name '$NON_ROOT_USERNAME')})] ) left_token: <Left_CommandSub '$('> spids: [68 74] ) } spids: [67] ) ] spids: [67] ) (C {(framework_failure_)}) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:gp1) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(expr)} {($ VSub_Name '$g')} {(Lit_Other '+')} {(1)})] ) left_token: <Left_CommandSub '$('> spids: [85 93] ) } spids: [84] ) ] spids: [84] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(echo)} {($ VSub_Name '$gp1')}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[100])] ) (C {(framework_failure_)}) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [ {(setuidgid)} {(-g)} {($ VSub_Name '$gp1')} {($ VSub_Name '$NON_ROOT_USERNAME')} {(env)} {(Lit_VarLike 'PATH=') (DQ ($ VSub_Name '$PATH'))} {(id)} {(-G)} ] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[128])] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[134])] spids: [134] ) ] ) (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:[145])] spids: [145] ) ] ) (C {(Exit)} {($ VSub_Name '$fail')}) ] )