(CommandList children: [ (AndOr ops: [Op_DPipe] children: [(C {(test)} {(-z)} {(DQ ($ VSub_Name '$VERBOSE'))}) (C {(set)} {(-x)})] ) (AndOr ops: [Op_DAmp] children: [ (C {(test)} {(DQ ($ VSub_Name '$USE_ACL'))} {(Lit_Other '=')} {(0)}) (BraceGroup children: [ (C {(echo)} {(DQ ('Skipping test: insufficient ACL support'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(77)}) ] spids: [35] ) ] ) (FuncDef name: func_tmpdir body: (BraceGroup children: [ (C {(Lit_Other ':')} { (BracedVarSub token: <VSub_Name TMPDIR> suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(Lit_Slash /) (tmp)}) spids: [87 92] ) } ) (AndOr ops: [Op_DPipe Op_DPipe] children: [ (BraceGroup children: [ (AndOr ops: [Op_DAmp Op_DAmp] children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Subshell child: (AndOr ops: [Op_DAmp] children: [ (C {(umask)} {(077)}) (C {(mktemp)} {(-d)} {(DQ ($ VSub_Name '$TMPDIR') (/glXXXXXX))} ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [125] ) ] spids: [108 123] ) ] ) left_token: <Left_Backtick '`'> spids: [107 127] ) } spids: [106] ) ] spids: [106] ) (C {(test)} {(-n)} {(DQ ($ VSub_Name '$tmp'))}) (C {(test)} {(-d)} {(DQ ($ VSub_Name '$tmp'))}) ] ) ] spids: [95] ) (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tmp) op: Equal rhs: {($ VSub_Name '$TMPDIR') (/gl) ($ VSub_Dollar '$$') (-) ($ VSub_Name '$RANDOM') } spids: [179] ) ] spids: [179] ) (Subshell child: (AndOr ops: [Op_DAmp] children: [(C {(umask)} {(077)}) (C {(mkdir)} {(DQ ($ VSub_Name '$tmp'))})] ) spids: [187 199] ) ] spids: [156] ) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Number '$0') (': cannot create a temporary directory in ') ($ VSub_Name '$TMPDIR') ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[218])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [207] ) ] ) ] spids: [70] ) spids: [65 69] ) (C {(func_tmpdir)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_Backtick '`'> spids: [235 237] ) } spids: [234] ) ] spids: [234] ) (AndOr ops: [Op_DPipe] children: [ (C {(cd)} {(DQ ($ VSub_Name '$builddir'))}) (BraceGroup children: [ (SimpleCommand words: [ {(echo)} { (DQ ($ VSub_Number '$0') (': cannot determine build directory (unreadable parent dir?)') ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[258])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [248] ) ] ) (AndOr ops: [Op_DPipe] children: [ (Subshell child: (CommandList children: [ (C {(cd)} {(DQ ($ VSub_Name '$tmp'))}) (C {(rm)} {(-f)} {(tmpfile) (Lit_Other '[') (0-9) (Lit_Other ']')}) (SimpleCommand words: [{(echo)} {(DQ ('Simple contents'))}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(tmpfile0)} spids:[308])] ) (C {(chmod)} {(600)} {(tmpfile0)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(none)} spids: [341] ) ] spids: [341] ) (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(getfacl)} {(tmpfile0)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [352] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [356] ) ] spids: [347 354] ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(setfacl)} {(--help)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [378] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [382] ) ] spids: [373 380] ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (Pipeline children: [ (SimpleCommand words: [{(setfacl)} {(--help)}] more_env: [ (env_pair name: LC_ALL val: {(C)} spids: [396] ) ] ) (SimpleCommand words: [{(grep)} {(SQ <' --set-file'>)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [411] ) ] ) ] negated: F ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [415] ) ] spids: [395 413] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(linux)} spids: [426] ) ] spids: [426] ) ] spids: [16777215 419] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(cygwin)} spids: [433] ) ] spids: [433] ) ] spids: [430 437] ) ] spids: [16777215 386] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (Pipeline children: [ (SimpleCommand words: [{(setfacl)}] redirects: [ (Redir op_id: Redir_GreatAnd fd: 2 arg_word: {(1)} spids: [455] ) ] more_env: [ (env_pair name: LC_ALL val: {(C)} spids: [450] ) ] ) (SimpleCommand words: [{(grep)} {(SQ <'\\-x entries'>)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [466] ) ] ) ] negated: F ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [470] ) ] spids: [449 468] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(freebsd)} spids: [481] ) ] spids: [481] ) ] spids: [16777215 474] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(solaris)} spids: [492] ) ] spids: [492] ) ] spids: [485 496] ) ] spids: [440 499] ) ] spids: [16777215 360] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(lsacl)} {(/)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [512] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [516] ) ] spids: [507 514] ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(getacl)} {(tmpfile0)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [538] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [542] ) ] spids: [533 540] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(hpuxjfs)} spids: [553] ) ] spids: [553] ) ] spids: [16777215 546] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(hpux)} spids: [564] ) ] spids: [564] ) ] spids: [557 568] ) ] spids: [16777215 520] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(getacl)} {(tmpfile0)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [581] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [585] ) ] spids: [576 583] ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(getacl)} {(-m)} {(tmpfile0)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [605] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [609] ) ] spids: [598 607] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(osf1)} spids: [620] ) ] spids: [620] ) ] spids: [16777215 613] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(nsk)} spids: [631] ) ] spids: [631] ) ] spids: [624 635] ) ] spids: [16777215 589] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(aclget)} {(tmpfile0)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [648] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [652] ) ] spids: [643 650] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(aix)} spids: [663] ) ] spids: [663] ) ] spids: [16777215 656] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Subshell child: (SimpleCommand words: [{(fsaclctl)} {(-v)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(/dev/null)} spids: [677] ) ] ) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [681] ) ] spids: [672 679] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(macosx)} spids: [692] ) ] spids: [692] ) ] spids: [16777215 685] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(-f)} {(/sbin/chacl)}) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:acl_flavor) op: Equal rhs: {(irix)} spids: [715] ) ] spids: [715] ) ] spids: [16777215 708] ) ] spids: [16777215 719] ) ] spids: [696 722] ) ] spids: [667 725] ) ] spids: [638 728] ) ] spids: [571 731] ) ] spids: [502 734] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {($ VSub_Name '$acl_flavor')} {(KW_Bang '!') (Lit_Other '=')} {(none)} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(-f)} {(/usr/xpg4/bin/id)}) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ID) op: Equal rhs: {(/usr/xpg4/bin/id)} spids: [769] ) ] spids: [769] ) ] spids: [16777215 766] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ID) op: Equal rhs: {(id)} spids: [776] ) ] spids: [776] ) ] spids: [773 780] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:myuid) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {($ VSub_Name '$ID')} {(-u)})] ) left_token: <Left_Backtick '`'> spids: [792 796] ) } spids: [791] ) ] spids: [791] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:mygid) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {($ VSub_Name '$ID')} {(-g)})] ) left_token: <Left_Backtick '`'> spids: [800 804] ) } spids: [799] ) ] spids: [799] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:auid) op: Equal rhs: {(1)} spids: [807] ) ] spids: [807] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(DQ ($ VSub_Name '$auid'))} {(Lit_Other '=')} {(DQ ($ VSub_Name '$myuid'))} ) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:auid) op: Equal rhs: {(2)} spids: [828] ) ] spids: [828] ) terminator: <Op_Semi ';'> ) ] spids: [16777215 826] ) ] spids: [16777215 832] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:agid) op: Equal rhs: {(1)} spids: [835] ) ] spids: [835] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(DQ ($ VSub_Name '$agid'))} {(Lit_Other '=')} {(DQ ($ VSub_Name '$mygid'))} ) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:agid) op: Equal rhs: {(2)} spids: [856] ) ] spids: [856] ) terminator: <Op_Semi ';'> ) ] spids: [16777215 854] ) ] spids: [16777215 860] ) ] spids: [16777215 750] ) ] spids: [16777215 863] ) (ForEach iter_name: mode iter_words: [ {(700)} {(400)} {(200)} {(100)} {(644)} {(650)} {(605)} {(011)} {(4700)} {(2070)} ] do_arg_iter: F body: (DoGroup children: [ (C {(rm)} {(-f)} {(tmpfile0)} {(tmpfile1)} {(tmpfile2)}) (SimpleCommand words: [{(echo)} {(DQ (Anything))}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(tmpfile0)} spids: [919] ) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (SimpleCommand words: [{(chmod)} {($ VSub_Name '$mode')} {(tmpfile0)}] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [936] ) ] ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:modestring0) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ls)} {(-l)} {(tmpfile0)}) (SimpleCommand words: [ {(dd)} {(Lit_VarLike 'ibs=') (1)} {(Lit_VarLike 'count=') (10)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [961] ) ] ) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [944 963] ) } spids: [943] ) ] spids: [943] ) (SimpleCommand words: [{(echo)} {(DQ ('Some contents'))}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(tmpfile1)} spids: [977] ) ] ) (C {(chmod)} {(600)} {(tmpfile1)}) (C {(DQ ($ VSub_Name '$builddir')) (/test-set-mode-acl) (${ VSub_Name EXEEXT) } {(tmpfile1)} {($ VSub_Name '$mode')} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:modestring) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ls)} {(-l)} {(tmpfile1)}) (SimpleCommand words: [ {(dd)} {(Lit_VarLike 'ibs=') (1)} {(Lit_VarLike 'count=') (10)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [1029] ) ] ) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [1012 1031] ) } spids: [1011] ) ] spids: [1011] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(DQ (x) ($ VSub_Name '$modestring'))} {(KW_Bang '!') (Lit_Other '=')} {(DQ (x) ($ VSub_Name '$modestring0'))} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('mode = ') ($ VSub_Name '$mode') (': tmpfile1 has wrong mode: ') ($ VSub_Name '$modestring') ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(2)} spids: [1064] ) ] ) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] spids: [16777215 1052] ) ] spids: [16777215 1073] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} { (CommandSubPart command_list: (CommandList children: [ (C {(DQ ($ VSub_Name '$builddir')) (/test-file-has-acl) (${ VSub_Name EXEEXT) } {(tmpfile1)} ) ] ) left_token: <Left_Backtick '`'> spids: [1080 1090] ) } {(KW_Bang '!') (Lit_Other '=')} {(no)} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('mode = ') ($ VSub_Name '$mode') (': tmpfile1 got an ACL') ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(2)} spids: [1109] ) ] ) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] spids: [16777215 1098] ) ] spids: [16777215 1118] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {($ VSub_Name '$acl_flavor')} {(KW_Bang '!') (Lit_Other '=')} {(none)} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ('Special contents'))}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {(tmpfile2)} spids: [1148] ) ] ) (C {(chmod)} {(600)} {(tmpfile2)}) (Case to_match: {($ VSub_Name '$acl_flavor')} arms: [ (case_arm pat_list: [{(linux)} {(freebsd)} {(solaris)}] action: [ (C {(setfacl)} {(-m)} {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1) } {(tmpfile0)} ) ] spids: [1171 1180 1196 16777215] ) (case_arm pat_list: [{(cygwin)}] action: [ (C {(setfacl)} {(-m)} {(group) (Lit_Other ':') (0) (Lit_Other ':') (1)} {(tmpfile0)} ) ] spids: [1199 1200 1216 16777215] ) (case_arm pat_list: [{(hpux)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:orig) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(lsacl)} {(tmpfile0)}) (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)} ) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [1224 1238] ) } spids: [1223] ) ] spids: [1223] ) (C {(chacl)} {(-r)} { (DQ (${ VSub_Name orig) ('(') ($ VSub_Name '$auid') ('.%,--x)') ) } {(tmpfile0)} ) ] spids: [1219 1220 1257 16777215] ) (case_arm pat_list: [{(hpuxjfs)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:orig) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(lsacl)} {(tmpfile0)}) (C {(sed)} {(-e)} {(SQ <'s/ tmpfile0$//'>)} ) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [1265 1279] ) } spids: [1264] ) ] spids: [1264] ) (AndOr ops: [Op_DPipe] children: [ (C {(chacl)} {(-r)} { (DQ (${ VSub_Name orig) ('(') ($ VSub_Name '$auid') ('.%,--x)') ) } {(tmpfile0)} ) (C {(setacl)} {(-m)} {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1) } {(tmpfile0)} ) ] ) ] spids: [1260 1261 1314 16777215] ) (case_arm pat_list: [{(osf1)}] action: [ (C {(setacl)} {(-u)} {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1) } {(tmpfile0)} ) ] spids: [1317 1318 1334 16777215] ) (case_arm pat_list: [{(nsk)}] action: [ (C {(setacl)} {(-m)} {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1) } {(tmpfile0)} ) ] spids: [1337 1338 1354 16777215] ) (case_arm pat_list: [{(aix)}] action: [ (Pipeline children: [ (BraceGroup children: [ (Sentence child: (Pipeline children: [ (C {(aclget)} {(tmpfile0)}) (C {(sed)} {(-e)} {(SQ <'s/disabled$/enabled/'>)} ) ] negated: F ) terminator: <Op_Semi ';'> ) (Sentence child: (C {(echo)} { (DQ (' permit --x u:') ($ VSub_Name '$auid') ) } ) terminator: <Op_Semi ';'> ) ] spids: [1361] ) (C {(aclput)} {(tmpfile0)}) ] negated: F ) ] spids: [1357 1358 1395 16777215] ) (case_arm pat_list: [{(macosx)}] action: [ (C {(/bin/chmod)} {(Lit_Other '+') (a)} {(DQ ('user:daemon allow execute'))} {(tmpfile0)} ) ] spids: [1398 1399 1414 16777215] ) (case_arm pat_list: [{(irix)}] action: [ (C {(/sbin/chacl)} {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') (group) (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (other) (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (--x) } {(tmpfile0)} ) ] spids: [1417 1418 1447 16777215] ) ] spids: [1164 1168 1450] ) (C {(DQ ($ VSub_Name '$builddir')) (/test-set-mode-acl) (${ VSub_Name EXEEXT) } {(tmpfile2)} {($ VSub_Name '$mode')} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:modestring) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ls)} {(-l)} {(tmpfile2)}) (SimpleCommand words: [ {(dd)} {(Lit_VarLike 'ibs=') (1)} {(Lit_VarLike 'count=') (10)} ] redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [1493] ) ] ) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [1476 1495] ) } spids: [1475] ) ] spids: [1475] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(DQ (x) ($ VSub_Name '$modestring'))} {(KW_Bang '!') (Lit_Other '=')} {(DQ (x) ($ VSub_Name '$modestring0'))} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('mode = ') ($ VSub_Name '$mode') (': tmpfile2 has wrong mode: ') ($ VSub_Name '$modestring') ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(2)} spids: [1528] ) ] ) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] spids: [16777215 1516] ) ] spids: [16777215 1537] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} { (CommandSubPart command_list: (CommandList children: [ (C {(DQ ($ VSub_Name '$builddir')) (/test-file-has-acl) (${ VSub_Name EXEEXT) } {(tmpfile2)} ) ] ) left_token: <Left_Backtick '`'> spids: [1544 1554] ) } {(KW_Bang '!') (Lit_Other '=')} {(no)} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('mode = ') ($ VSub_Name '$mode') (': tmpfile2 still has an ACL') ) } ] redirects: [ (Redir op_id: Redir_GreatAnd fd: 1 arg_word: {(2)} spids: [1573] ) ] ) (ControlFlow token: <ControlFlow_Exit exit> arg_word: {(1)} ) ] spids: [16777215 1562] ) ] spids: [16777215 1582] ) ] spids: [16777215 1134] ) ] spids: [16777215 1585] ) ] spids: [16777215 940] ) ] spids: [16777215 1588] ) ] spids: [894 1591] ) spids: [872 892] ) (C {(rm)} {(-f)} {(tmpfile) (Lit_Other '[') (0-9) (Lit_Other ']')}) ] ) spids: [278 1604] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (C {(rm)} {(-rf)} {(DQ ($ VSub_Name '$tmp'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )