(command.CommandList
  children: [
    (command.If
      arms: [
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.AndOr
                  ops: [Op_DAmp]
                  children: [
                    (C {(test)} {(-n)} {(DQ ($ VSub_Name '$BASH'))})
                    (C {(test)} {(-z)} {(DQ ($ VSub_Name '$POSIXLY_CORRECT'))})
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(true)})]
          spids: [16777215 39]
        )
        (if_arm
          cond: [
            (command.Sentence
              child: 
                (command.SimpleCommand
                  words: [{(type)} {(bash)}]
                  redirects: [
                    (redir.Redir
                      op: <Redir_Great '>'>
                      fd: 16777215
                      arg_word: {(/dev/null)}
                    )
                    (redir.Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(unset)} {(POSIXLY_CORRECT)})
            (C {(exec)} {(bash)} {(DQ ($ VSub_Number '$0'))} {(DQ ($ VSub_At '$@'))})
          ]
          spids: [48 61]
        )
      ]
      else_action: [
        (C {(echo)} {(SQ <'1..0 #SKIP skipping bash completion tests; bash not available'>)})
        (command.ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
      ]
      spids: [85 99]
    )
    (C {(.)} {(./test-lib.sh)})
  ]
)