(command.CommandList
  children: [
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:test_description spids:[12])
          op: Equal
          rhs: {(SQ <'stash apply can handle submodules'>)}
          spids: [12]
        )
      ]
      spids: [12]
    )
    (C {(.)} {(./test-lib.sh)})
    (C {(.)} {(DQ ($ VSub_Name '$TEST_DIRECTORY')) (/lib-submodule-update.sh)})
    (command.FuncDef
      name: git_stash
      body: 
        (command.BraceGroup
          children: [
            (command.AndOr
              ops: [Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp Op_DAmp]
              children: [
                (command.SimpleCommand
                  words: [{(git)} {(status)} {(-su)}]
                  redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(expect)})]
                )
                (command.SimpleCommand
                  words: [{(ls)} {(-1pR)} {(Lit_Other '*')}]
                  redirects: [(redir.Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(expect)})]
                )
                (C {(git)} {(read-tree)} {(-u)} {(-m)} {(DQ ($ VSub_Number '$1'))})
                (C {(git)} {(stash)})
                (command.SimpleCommand
                  words: [{(git)} {(status)} {(-su)}]
                  redirects: [(redir.Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(actual)})]
                )
                (command.SimpleCommand
                  words: [{(ls)} {(-1pR)} {(Lit_Other '*')}]
                  redirects: [(redir.Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(actual)})]
                )
                (C {(test_cmp)} {(expect)} {(actual)})
                (C {(git)} {(stash)} {(apply)})
              ]
            )
          ]
          spids: [35]
        )
      spids: [30 34]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:KNOWN_FAILURE_STASH_DOES_IGNORE_SUBMODULE_CHANGES spids:[126])
          op: Equal
          rhs: {(1)}
          spids: [126]
        )
      ]
      spids: [126]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (lhs_expr.LhsName name:KNOWN_FAILURE_CHERRY_PICK_SEES_EMPTY_COMMIT spids:[129])
          op: Equal
          rhs: {(1)}
          spids: [129]
        )
      ]
      spids: [129]
    )
    (command.Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: 
            (lhs_expr.LhsName
              name: KNOWN_FAILURE_NOFF_MERGE_DOESNT_CREATE_EMPTY_SUBMODULE_DIR
              spids: [132]
            )
          op: Equal
          rhs: {(1)}
          spids: [132]
        )
      ]
      spids: [132]
    )
    (C {(test_submodule_switch)} {(DQ (git_stash))})
    (C {(test_done)})
  ]
)