(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 ']')} {(tmp.err)})
                (SimpleCommand
                  words: [{(echo)} {(DQ ('Simple contents'))}]
                  redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(tmpfile0)} spids:[310])]
                )
                (C {(chmod)} {(600)} {(tmpfile0)})
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:acl_flavor)
                      op: Equal
                      rhs: {(none)}
                      spids: [343]
                    )
                  ]
                  spids: [343]
                )
                (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: [354]
                                    )
                                  ]
                                )
                              redirects: [
                                (Redir
                                  op_id: Redir_Great
                                  fd: 2
                                  arg_word: {(/dev/null)}
                                  spids: [358]
                                )
                              ]
                              spids: [349 356]
                            )
                          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: [380]
                                            )
                                          ]
                                        )
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 2
                                          arg_word: {(/dev/null)}
                                          spids: [384]
                                        )
                                      ]
                                      spids: [375 382]
                                    )
                                  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: [398]
                                                        )
                                                      ]
                                                    )
                                                    (SimpleCommand
                                                      words: [{(grep)} {(SQ <' --set-file'>)}]
                                                      redirects: [
                                                        (Redir
                                                          op_id: Redir_Great
                                                          fd: 16777215
                                                          arg_word: {(/dev/null)}
                                                          spids: [413]
                                                        )
                                                      ]
                                                    )
                                                  ]
                                                  negated: F
                                                )
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [417]
                                                )
                                              ]
                                              spids: [397 415]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:acl_flavor)
                                              op: Equal
                                              rhs: {(linux)}
                                              spids: [428]
                                            )
                                          ]
                                          spids: [428]
                                        )
                                      ]
                                      spids: [16777215 421]
                                    )
                                  ]
                                  else_action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(cygwin)}
                                          spids: [435]
                                        )
                                      ]
                                      spids: [435]
                                    )
                                  ]
                                  spids: [432 439]
                                )
                              ]
                              spids: [16777215 388]
                            )
                          ]
                          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: [457]
                                                    )
                                                  ]
                                                  more_env: [
                                                    (env_pair
                                                      name: LC_ALL
                                                      val: {(C)}
                                                      spids: [452]
                                                    )
                                                  ]
                                                )
                                                (SimpleCommand
                                                  words: [{(grep)} {(SQ <'\\-x entries'>)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [468]
                                                    )
                                                  ]
                                                )
                                              ]
                                              negated: F
                                            )
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [472]
                                            )
                                          ]
                                          spids: [451 470]
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(freebsd)}
                                          spids: [483]
                                        )
                                      ]
                                      spids: [483]
                                    )
                                  ]
                                  spids: [16777215 476]
                                )
                              ]
                              else_action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:acl_flavor)
                                      op: Equal
                                      rhs: {(solaris)}
                                      spids: [494]
                                    )
                                  ]
                                  spids: [494]
                                )
                              ]
                              spids: [487 498]
                            )
                          ]
                          spids: [442 501]
                        )
                      ]
                      spids: [16777215 362]
                    )
                  ]
                  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: [514]
                                        )
                                      ]
                                    )
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 2
                                      arg_word: {(/dev/null)}
                                      spids: [518]
                                    )
                                  ]
                                  spids: [509 516]
                                )
                              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: [540]
                                                )
                                              ]
                                            )
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [544]
                                            )
                                          ]
                                          spids: [535 542]
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(hpuxjfs)}
                                          spids: [555]
                                        )
                                      ]
                                      spids: [555]
                                    )
                                  ]
                                  spids: [16777215 548]
                                )
                              ]
                              else_action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:acl_flavor)
                                      op: Equal
                                      rhs: {(hpux)}
                                      spids: [566]
                                    )
                                  ]
                                  spids: [566]
                                )
                              ]
                              spids: [559 570]
                            )
                          ]
                          spids: [16777215 522]
                        )
                      ]
                      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: [583]
                                            )
                                          ]
                                        )
                                      redirects: [
                                        (Redir
                                          op_id: Redir_Great
                                          fd: 2
                                          arg_word: {(/dev/null)}
                                          spids: [587]
                                        )
                                      ]
                                      spids: [578 585]
                                    )
                                  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: [607]
                                                    )
                                                  ]
                                                )
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [611]
                                                )
                                              ]
                                              spids: [600 609]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:acl_flavor)
                                              op: Equal
                                              rhs: {(osf1)}
                                              spids: [622]
                                            )
                                          ]
                                          spids: [622]
                                        )
                                      ]
                                      spids: [16777215 615]
                                    )
                                  ]
                                  else_action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(nsk)}
                                          spids: [633]
                                        )
                                      ]
                                      spids: [633]
                                    )
                                  ]
                                  spids: [626 637]
                                )
                              ]
                              spids: [16777215 591]
                            )
                          ]
                          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: [650]
                                                )
                                              ]
                                            )
                                          redirects: [
                                            (Redir
                                              op_id: Redir_Great
                                              fd: 2
                                              arg_word: {(/dev/null)}
                                              spids: [654]
                                            )
                                          ]
                                          spids: [645 652]
                                        )
                                      terminator: <Op_Semi ';'>
                                    )
                                  ]
                                  action: [
                                    (Assignment
                                      keyword: Assign_None
                                      pairs: [
                                        (assign_pair
                                          lhs: (LhsName name:acl_flavor)
                                          op: Equal
                                          rhs: {(aix)}
                                          spids: [665]
                                        )
                                      ]
                                      spids: [665]
                                    )
                                  ]
                                  spids: [16777215 658]
                                )
                              ]
                              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: [679]
                                                    )
                                                  ]
                                                )
                                              redirects: [
                                                (Redir
                                                  op_id: Redir_Great
                                                  fd: 2
                                                  arg_word: {(/dev/null)}
                                                  spids: [683]
                                                )
                                              ]
                                              spids: [674 681]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Assignment
                                          keyword: Assign_None
                                          pairs: [
                                            (assign_pair
                                              lhs: (LhsName name:acl_flavor)
                                              op: Equal
                                              rhs: {(macosx)}
                                              spids: [694]
                                            )
                                          ]
                                          spids: [694]
                                        )
                                      ]
                                      spids: [16777215 687]
                                    )
                                  ]
                                  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: [717]
                                                )
                                              ]
                                              spids: [717]
                                            )
                                          ]
                                          spids: [16777215 710]
                                        )
                                      ]
                                      spids: [16777215 721]
                                    )
                                  ]
                                  spids: [698 724]
                                )
                              ]
                              spids: [669 727]
                            )
                          ]
                          spids: [640 730]
                        )
                      ]
                      spids: [573 733]
                    )
                  ]
                  spids: [504 736]
                )
                (FuncDef
                  name: func_test_file_has_acl
                  body: 
                    (BraceGroup
                      children: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:res)
                              op: Equal
                              rhs: 
                                {
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [
                                          (C 
                                            {(DQ ($ VSub_Name '$builddir')) (/test-file-has-acl) 
                                              (${ VSub_Name EXEEXT)
                                            } {(DQ ($ VSub_Number '$1'))}
                                          )
                                        ]
                                      )
                                    left_token: <Left_Backtick '`'>
                                    spids: [762 774]
                                  )
                                }
                              spids: [761]
                            )
                          ]
                          spids: [761]
                        )
                        (AndOr
                          ops: [Op_DPipe]
                          children: [
                            (C {(test)} {(DQ ($ VSub_Name '$res'))} {(Lit_Other '=')} 
                              {(DQ ($ VSub_Number '$2'))}
                            )
                            (BraceGroup
                              children: [
                                (SimpleCommand
                                  words: [
                                    {(echo)}
                                    {
                                      (DQ ('file_has_acl(') 
                                        (EscapedLiteralPart
                                          token: <Lit_EscapedChar '\\"'>
                                        ) ($ VSub_Number '$1') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (') returned ') 
                                        ($ VSub_Name '$res') (', expected ') ($ VSub_Number '$2')
                                      )
                                    }
                                  ]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_GreatAnd
                                      fd: 1
                                      arg_word: {(2)}
                                      spids: [807]
                                    )
                                  ]
                                )
                                (ControlFlow
                                  token: <ControlFlow_Exit exit>
                                  arg_word: {(1)}
                                )
                              ]
                              spids: [791]
                            )
                          ]
                        )
                      ]
                      spids: [758]
                    )
                  spids: [752 756]
                )
                (Case
                  to_match: {($ VSub_Name '$acl_flavor')}
                  arms: [
                    (case_arm
                      pat_list: [{(freebsd)} {(solaris)} {(hpux)} {(macosx)}]
                      action: [
                        (Case
                          to_match: {($ VSub_Name '$acl_flavor')}
                          arms: [
                            (case_arm
                              pat_list: [{(freebsd)} {(solaris)} {(hpux)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:acl_ls_option)
                                      op: Equal
                                      rhs: {(DQ (-ld))}
                                      spids: [880]
                                    )
                                  ]
                                  spids: [880]
                                )
                              ]
                              spids: [869 878 885 16777215]
                            )
                            (case_arm
                              pat_list: [{(macosx)}]
                              action: [
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:acl_ls_option)
                                      op: Equal
                                      rhs: {(DQ (-lde))}
                                      spids: [891]
                                    )
                                  ]
                                  spids: [891]
                                )
                              ]
                              spids: [888 889 896 16777215]
                            )
                          ]
                          spids: [862 866 899]
                        )
                        (FuncDef
                          name: func_test_has_acl
                          body: 
                            (BraceGroup
                              children: [
                                (C {(func_test_file_has_acl)} {(DQ ($ VSub_Number '$1'))} 
                                  {(DQ ($ VSub_Number '$2'))}
                                )
                                (Case
                                  to_match: 
                                    {
                                      (CommandSubPart
                                        command_list: 
                                          (CommandList
                                            children: [
                                              (Pipeline
                                                children: [
                                                  (C {(/bin/ls)} {($ VSub_Name '$acl_ls_option')} 
                                                    {(DQ ($ VSub_Number '$1'))}
                                                  )
                                                  (C {(sed)} {(1q)})
                                                ]
                                                negated: F
                                              )
                                            ]
                                          )
                                        left_token: <Left_Backtick '`'>
                                        spids: [924 938]
                                      )
                                    }
                                  arms: [
                                    (case_arm
                                      pat_list: [
                                        {(Lit_Other '?') (Lit_Other '?') (Lit_Other '?') 
                                          (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') 
                                          (Lit_Other '+') (Lit_Other '*')
                                        }
                                      ]
                                      action: [
                                        (AndOr
                                          ops: [Op_DPipe]
                                          children: [
                                            (C {(test)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other '=')} 
                                              {(yes)}
                                            )
                                            (BraceGroup
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(echo)}
                                                    {
                                                      (DQ ('/bin/ls ') ($ VSub_Name '$acl_ls_option') 
                                                        (' ') ($ VSub_Number '$1') (' shows an ACL, but expected ') ($ VSub_Number '$2')
                                                      )
                                                    }
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_GreatAnd
                                                      fd: 1
                                                      arg_word: {(2)}
                                                      spids: [984]
                                                    )
                                                  ]
                                                )
                                                (ControlFlow
                                                  token: <ControlFlow_Exit exit>
                                                  arg_word: {(1)}
                                                )
                                              ]
                                              spids: [970]
                                            )
                                          ]
                                        )
                                      ]
                                      spids: [943 955 996 16777215]
                                    )
                                    (case_arm
                                      pat_list: [
                                        {(Lit_Other '?') (Lit_Other '?') (Lit_Other '?') 
                                          (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (Lit_Other '?') (DQ (' ')) 
                                          (Lit_Other '*')
                                        }
                                      ]
                                      action: [
                                        (AndOr
                                          ops: [Op_DPipe]
                                          children: [
                                            (C {(test)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other '=')} 
                                              {(no)}
                                            )
                                            (BraceGroup
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(echo)}
                                                    {
                                                      (DQ ('/bin/ls ') ($ VSub_Name '$acl_ls_option') 
                                                        (' ') ($ VSub_Number '$1') (' shows no ACL, but expected ') ($ VSub_Number '$2')
                                                      )
                                                    }
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_GreatAnd
                                                      fd: 1
                                                      arg_word: {(2)}
                                                      spids: [1042]
                                                    )
                                                  ]
                                                )
                                                (ControlFlow
                                                  token: <ControlFlow_Exit exit>
                                                  arg_word: {(1)}
                                                )
                                              ]
                                              spids: [1028]
                                            )
                                          ]
                                        )
                                      ]
                                      spids: [999 1013 1054 16777215]
                                    )
                                  ]
                                  spids: [922 940 1057]
                                )
                              ]
                              spids: [908]
                            )
                          spids: [902 906]
                        )
                      ]
                      spids: [846 859 1063 16777215]
                    )
                    (case_arm
                      pat_list: [{(irix)}]
                      action: [
                        (FuncDef
                          name: func_test_has_acl
                          body: 
                            (BraceGroup
                              children: [
                                (C {(func_test_file_has_acl)} {(DQ ($ VSub_Number '$1'))} 
                                  {(DQ ($ VSub_Number '$2'))}
                                )
                                (Case
                                  to_match: 
                                    {
                                      (CommandSubPart
                                        command_list: 
                                          (CommandList
                                            children: [
                                              (Pipeline
                                                children: [
                                                  (C {(/bin/ls)} {(-ldD)} {(DQ ($ VSub_Number '$1'))})
                                                  (C {(sed)} {(1q)})
                                                ]
                                                negated: F
                                              )
                                            ]
                                          )
                                        left_token: <Left_Backtick '`'>
                                        spids: [1092 1106]
                                      )
                                    }
                                  arms: [
                                    (case_arm
                                      pat_list: [{(Lit_Other '*') (DQ (' []'))}]
                                      action: [
                                        (AndOr
                                          ops: [Op_DPipe]
                                          children: [
                                            (C {(test)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other '=')} 
                                              {(no)}
                                            )
                                            (BraceGroup
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(echo)}
                                                    {
                                                      (DQ ('/bin/ls -ldD ') ($ VSub_Number '$1') 
                                                        (' shows no ACL, but expected ') ($ VSub_Number '$2')
                                                      )
                                                    }
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_GreatAnd
                                                      fd: 1
                                                      arg_word: {(2)}
                                                      spids: [1142]
                                                    )
                                                  ]
                                                )
                                                (ControlFlow
                                                  token: <ControlFlow_Exit exit>
                                                  arg_word: {(1)}
                                                )
                                              ]
                                              spids: [1130]
                                            )
                                          ]
                                        )
                                      ]
                                      spids: [1111 1115 1154 16777215]
                                    )
                                    (case_arm
                                      pat_list: [{(Lit_Other '*')}]
                                      action: [
                                        (AndOr
                                          ops: [Op_DPipe]
                                          children: [
                                            (C {(test)} {(DQ ($ VSub_Number '$2'))} {(Lit_Other '=')} 
                                              {(yes)}
                                            )
                                            (BraceGroup
                                              children: [
                                                (SimpleCommand
                                                  words: [
                                                    {(echo)}
                                                    {
                                                      (DQ ('/bin/ls -ldD ') ($ VSub_Number '$1') 
                                                        (' shows an ACL, but expected ') ($ VSub_Number '$2')
                                                      )
                                                    }
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_GreatAnd
                                                      fd: 1
                                                      arg_word: {(2)}
                                                      spids: [1185]
                                                    )
                                                  ]
                                                )
                                                (ControlFlow
                                                  token: <ControlFlow_Exit exit>
                                                  arg_word: {(1)}
                                                )
                                              ]
                                              spids: [1173]
                                            )
                                          ]
                                        )
                                      ]
                                      spids: [1157 1158 1197 16777215]
                                    )
                                  ]
                                  spids: [1090 1108 1200]
                                )
                              ]
                              spids: [1076]
                            )
                          spids: [1070 1074]
                        )
                      ]
                      spids: [1066 1067 1206 16777215]
                    )
                    (case_arm
                      pat_list: [{(Lit_Other '*')}]
                      action: [
                        (FuncDef
                          name: func_test_has_acl
                          body: 
                            (BraceGroup
                              children: [
                                (C {(func_test_file_has_acl)} {(DQ ($ VSub_Number '$1'))} 
                                  {(DQ ($ VSub_Number '$2'))}
                                )
                              ]
                              spids: [1219]
                            )
                          spids: [1213 1217]
                        )
                      ]
                      spids: [1209 1210 1236 16777215]
                    )
                  ]
                  spids: [839 843 1239]
                )
                (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                (C {(mkdir)} {(tmpdir0)})
                (C {(func_test_has_acl)} {(tmpdir0)} {(no)})
                (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: [1295]
                                    )
                                  ]
                                  spids: [1295]
                                )
                              ]
                              spids: [16777215 1292]
                            )
                          ]
                          else_action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:ID)
                                  op: Equal
                                  rhs: {(id)}
                                  spids: [1302]
                                )
                              ]
                              spids: [1302]
                            )
                          ]
                          spids: [1299 1306]
                        )
                        (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: [1318 1322]
                                  )
                                }
                              spids: [1317]
                            )
                          ]
                          spids: [1317]
                        )
                        (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: [1326 1330]
                                  )
                                }
                              spids: [1325]
                            )
                          ]
                          spids: [1325]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:auid)
                              op: Equal
                              rhs: {(1)}
                              spids: [1333]
                            )
                          ]
                          spids: [1333]
                        )
                        (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: [1354]
                                        )
                                      ]
                                      spids: [1354]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              spids: [16777215 1352]
                            )
                          ]
                          spids: [16777215 1358]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:agid)
                              op: Equal
                              rhs: {(1)}
                              spids: [1361]
                            )
                          ]
                          spids: [1361]
                        )
                        (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: [1382]
                                        )
                                      ]
                                      spids: [1382]
                                    )
                                  terminator: <Op_Semi ';'>
                                )
                              ]
                              spids: [16777215 1380]
                            )
                          ]
                          spids: [16777215 1386]
                        )
                        (Case
                          to_match: {($ VSub_Name '$acl_flavor')}
                          arms: [
                            (case_arm
                              pat_list: [{(linux)} {(freebsd)} {(solaris)}]
                              action: [
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (C {(setfacl)} {(-m)} 
                                              {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                                (Lit_Other ':') (1)
                                              } {(tmpfile0)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                        (Case
                                          to_match: {($ VSub_Name '$acl_flavor')}
                                          arms: [
                                            (case_arm
                                              pat_list: [{(linux)}]
                                              action: [
                                                (C {(setfacl)} {(-x)} 
                                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid')} {(tmpfile0)}
                                                )
                                              ]
                                              spids: [1452 1453 1465 16777215]
                                            )
                                            (case_arm
                                              pat_list: [{(freebsd)}]
                                              action: [
                                                (C {(setfacl)} {(-x)} 
                                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                                    (Lit_Other ':') (1)
                                                  } {(tmpfile0)}
                                                )
                                              ]
                                              spids: [1468 1469 1483 16777215]
                                            )
                                            (case_arm
                                              pat_list: [{(Lit_Other '*')}]
                                              action: [
                                                (C {(setfacl)} {(-d)} 
                                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                                    (Lit_Other ':') (1)
                                                  } {(tmpfile0)}
                                                )
                                              ]
                                              spids: [1486 1487 1501 16777215]
                                            )
                                          ]
                                          spids: [1445 1449 1504]
                                        )
                                        (Case
                                          to_match: {($ VSub_Name '$acl_flavor')}
                                          arms: [
                                            (case_arm
                                              pat_list: [{(linux)} {(freebsd)}]
                                              action: [(C {(func_test_has_acl)} {(tmpfile0)} {(yes)})]
                                              spids: [1523 1528 1536 16777215]
                                            )
                                            (case_arm
                                              pat_list: [{(Lit_Other '*')}]
                                              action: [(C {(func_test_has_acl)} {(tmpfile0)} {(no)})]
                                              spids: [1539 1540 1548 16777215]
                                            )
                                          ]
                                          spids: [1516 1520 1551]
                                        )
                                        (Case
                                          to_match: {($ VSub_Name '$acl_flavor')}
                                          arms: [
                                            (case_arm
                                              pat_list: [{(linux)} {(freebsd)}]
                                              action: [
                                                (C {(setfacl)} {(-x)} {(mask) (Lit_Other ':')} 
                                                  {(tmpfile0)}
                                                )
                                              ]
                                              spids: [1566 1571 1582 16777215]
                                            )
                                            (case_arm
                                              pat_list: [{(Lit_Other '*')}]
                                              action: [
                                                (C {(setfacl)} {(-d)} {(mask) (Lit_Other ':')} 
                                                  {(tmpfile0)}
                                                )
                                              ]
                                              spids: [1585 1586 1597 16777215]
                                            )
                                          ]
                                          spids: [1559 1563 1600]
                                        )
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                      ]
                                      spids: [16777215 1429]
                                    )
                                  ]
                                  spids: [16777215 1612]
                                )
                              ]
                              spids: [1397 1406 1615 16777215]
                            )
                            (case_arm
                              pat_list: [{(cygwin)}]
                              action: [
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (C {(setfacl)} {(-m)} 
                                              {(group) (Lit_Other ':') (0) (Lit_Other ':') (1)} {(tmpfile0)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                        (C {(setfacl)} {(-d)} {(group) (Lit_Other ':') (0)} {(tmpfile0)})
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                      ]
                                      spids: [16777215 1643]
                                    )
                                  ]
                                  spids: [16777215 1679]
                                )
                              ]
                              spids: [1619 1620 1682 16777215]
                            )
                            (case_arm
                              pat_list: [{(hpux)} {(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: [1700 1714]
                                          )
                                        }
                                      spids: [1699]
                                    )
                                  ]
                                  spids: [1699]
                                )
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (C {(chacl)} {(-r)} 
                                              {
                                                (DQ (${ VSub_Name orig) ('(') ($ VSub_Name '$auid') 
                                                  ('.%,--x)')
                                                )
                                              } {(tmpfile0)}
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                        (C {(chacl)} {(-d)} 
                                          {(DQ ('(') ($ VSub_Name '$auid') ('.%,--x)'))} {(tmpfile0)}
                                        )
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                      ]
                                      spids: [16777215 1735]
                                    )
                                  ]
                                  else_action: [
                                    (If
                                      arms: [
                                        (if_arm
                                          cond: [
                                            (Sentence
                                              child: 
                                                (C {(test)} {($ VSub_Name '$acl_flavor')} 
                                                  {(Lit_Other '=')} {(hpuxjfs)}
                                                )
                                              terminator: <Op_Semi ';'>
                                            )
                                          ]
                                          action: [
                                            (C {(setacl)} {(-m)} 
                                              {(user) (Lit_Other ':') ($ VSub_Name '$auid') 
                                                (Lit_Other ':') (1)
                                              } {(tmpfile0)}
                                            )
                                            (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                            (C {(setacl)} {(-d)} 
                                              {(user) (Lit_Other ':') ($ VSub_Name '$auid')} {(tmpfile0)}
                                            )
                                            (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                          ]
                                          spids: [16777215 1787]
                                        )
                                      ]
                                      spids: [16777215 1841]
                                    )
                                  ]
                                  spids: [1773 1844]
                                )
                              ]
                              spids: [1686 1691 1847 16777215]
                            )
                            (case_arm
                              pat_list: [{(osf1)}]
                              action: [
                                (SimpleCommand
                                  words: [
                                    {(setacl)}
                                    {(-u)}
                                    {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)}
                                    {(tmpfile0)}
                                  ]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 2
                                      arg_word: {(tmp.err)}
                                      spids: [1872]
                                    )
                                  ]
                                )
                                (SimpleCommand
                                  words: [{(cat)} {(tmp.err)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_GreatAnd
                                      fd: 1
                                      arg_word: {(2)}
                                      spids: [1881]
                                    )
                                  ]
                                )
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (AndOr
                                              ops: [Op_DPipe]
                                              children: [
                                                (SimpleCommand
                                                  words: [{(grep)} {(SQ <'Error:'>)} {(tmp.err)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [1895]
                                                    )
                                                  ]
                                                )
                                                (SimpleCommand
                                                  words: [
                                                    {(grep)}
                                                    {(SQ <'Operation not supported'>)}
                                                    {(tmp.err)}
                                                  ]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [1911]
                                                    )
                                                  ]
                                                )
                                              ]
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [(C {(Lit_Other ':')})]
                                      spids: [16777215 1916]
                                    )
                                  ]
                                  else_action: [
                                    (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                    (C {(setacl)} {(-x)} 
                                      {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                    )
                                    (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                  ]
                                  spids: [1922 1960]
                                )
                              ]
                              spids: [1851 1852 1963 16777215]
                            )
                            (case_arm
                              pat_list: [{(nsk)}]
                              action: [
                                (C {(setacl)} {(-m)} 
                                  {(user) (Lit_Other ':') ($ VSub_Name '$auid') (Lit_Other ':') (1)} {(tmpfile0)}
                                )
                                (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                (C {(setacl)} {(-d)} {(user) (Lit_Other ':') ($ VSub_Name '$auid')} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                              ]
                              spids: [1967 1968 2022 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: [2035]
                                    )
                                    (C {(aclput)} {(tmpfile0)})
                                  ]
                                  negated: F
                                )
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: 
                                            (Pipeline
                                              children: [
                                                (C {(aclget)} {(tmpfile0)})
                                                (SimpleCommand
                                                  words: [{(grep)} {(enabled)}]
                                                  redirects: [
                                                    (Redir
                                                      op_id: Redir_Great
                                                      fd: 16777215
                                                      arg_word: {(/dev/null)}
                                                      spids: [2081]
                                                    )
                                                  ]
                                                )
                                              ]
                                              negated: F
                                            )
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                        (Pipeline
                                          children: [
                                            (C {(aclget)} {(tmpfile0)})
                                            (C {(grep)} {(-v)} {(SQ <' u:[^ ]*$'>)})
                                            (C {(aclput)} {(tmpfile0)})
                                          ]
                                          negated: F
                                        )
                                        (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                      ]
                                      spids: [16777215 2086]
                                    )
                                  ]
                                  spids: [16777215 2132]
                                )
                              ]
                              spids: [2026 2027 2135 16777215]
                            )
                            (case_arm
                              pat_list: [{(macosx)}]
                              action: [
                                (C {(/bin/chmod)} {(Lit_Other '+') (a)} 
                                  {(DQ ('user:daemon allow execute'))} {(tmpfile0)}
                                )
                                (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                (C {(/bin/chmod)} {(-a)} {(DQ ('user:daemon allow execute'))} 
                                  {(tmpfile0)}
                                )
                                (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                              ]
                              spids: [2139 2140 2193 16777215]
                            )
                            (case_arm
                              pat_list: [{(irix)}]
                              action: [
                                (SimpleCommand
                                  words: [
                                    {(/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)}
                                  ]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 2
                                      arg_word: {(tmp.err)}
                                      spids: [2231]
                                    )
                                  ]
                                )
                                (SimpleCommand
                                  words: [{(cat)} {(tmp.err)}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_GreatAnd
                                      fd: 1
                                      arg_word: {(2)}
                                      spids: [2240]
                                    )
                                  ]
                                )
                                (If
                                  arms: [
                                    (if_arm
                                      cond: [
                                        (Sentence
                                          child: (C {(test)} {(-s)} {(tmp.err)})
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      action: [
                                        (Sentence
                                          child: (C {(Lit_Other ':')})
                                          terminator: <Op_Semi ';'>
                                        )
                                      ]
                                      spids: [16777215 2253]
                                    )
                                  ]
                                  else_action: [
                                    (C {(func_test_has_acl)} {(tmpfile0)} {(yes)})
                                    (C {(/sbin/chacl)} 
                                      {(user) (Lit_Other ':') (Lit_Other ':') (rw-) (Lit_Comma ',') 
                                        (group) (Lit_Other ':') (Lit_Other ':') (---) (Lit_Comma ',') (other) (Lit_Other ':') (Lit_Other ':') (---)
                                      } {(tmpfile0)}
                                    )
                                    (C {(func_test_has_acl)} {(tmpfile0)} {(no)})
                                  ]
                                  spids: [2258 2303]
                                )
                              ]
                              spids: [2197 2198 2306 16777215]
                            )
                          ]
                          spids: [1390 1394 2310]
                        )
                      ]
                      spids: [16777215 1276]
                    )
                  ]
                  spids: [16777215 2313]
                )
                (C {(rm)} {(-f)} {(tmpfile) (Lit_Other '[') (0-9) (Lit_Other ']')} {(tmp.err)})
                (C {(rm)} {(-rf)} {(tmpdir0)})
              ]
            )
          spids: [278 2335]
        )
        (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)})
      ]
    )
    (C {(rm)} {(-rf)} {(DQ ($ VSub_Name '$tmp'))})
    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)