(CommandList
  children: [
    (Sentence
      child: 
        (C {(.)} 
          {
            (DQ 
              (BracedVarSub
                token: <VSub_Name srcdir>
                suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(.)})
                spids: [47 51]
              ) (/tests/init.sh)
            )
          }
        )
      terminator: <Op_Semi ';'>
    )
    (C {(path_prepend_)} {(./src)})
    (C {(print_ver_)} {(ls)})
    (SimpleCommand
      words: [{(ls)} {(-l)} {(--time-style) (Lit_Other '=') (XX)}]
      redirects: [
        (Redir op_id:Redir_Great fd:16777215 arg_word:{(out)} spids:[73])
        (Redir op_id:Redir_Great fd:2 arg_word:{(err)} spids:[77])
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(test)} {($ VSub_QMark '$?')} {(Lit_Other '=')} {(2)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[91])]
          spids: [91]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (SimpleCommand
          words: [{(cat)}]
          redirects: [
            (HereDoc
              op_id: Redir_DLess
              fd: 16777215
              body: 
                {("ls: invalid argument 'XX' for 'time style'\n") ('Valid arguments are:\n') 
                  ('  - [posix-]full-iso\n') ('  - [posix-]long-iso\n') ('  - [posix-]iso\n') ('  - [posix-]locale\n') 
                  ("  - +FORMAT (e.g., +%H:%M) for a 'date'-style format\n") ("Try 'ls --help' for more information.\n")
                }
              do_expansion: False
              here_end: EOF
              was_filled: T
              spids: [97]
            )
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(exp)} spids:[101])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[107])]
          spids: [107]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(compare)} {(exp)} {(err)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[119])]
          spids: [119]
        )
      ]
    )
    (AndOr
      ops: [Op_DPipe]
      children: [
        (C {(compare)} {(/dev/null)} {(out)})
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:fail) op:Equal rhs:{(1)} spids:[130])]
          spids: [130]
        )
      ]
    )
    (C {(Exit)} {($ VSub_Name '$fail')})
  ]
)