(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'test_description='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'test_description='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'test_description='> name:test_description)
          op: assign_op.Equal
          rhs: {(SQ <'ls-files --exclude does not affect index files'>)}
        )
      ]
      redirects: []
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [{<.>} {<'./test-lib.sh'>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'create repo with file'>)}
        {
          (SQ <'\n'> <'\techo content >file &&\n'> <'\tgit add file &&\n'> <'\tgit commit -m file &&\n'> 
            <'\techo modification >file\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      name_tok: <check_output>
      name: check_output
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <test_expect_success>
              more_env: []
              words: [
                {<test_expect_success>}
                {(DQ <'ls-files output contains file ('> ($ Id.VSub_Number 1) <')'>)}
                {
                  (DQ <'\n'> <'\techo \''> ($ Id.VSub_Number 2) <'\' >expect &&\n'> 
                    <'\tgit ls-files --exclude-standard --'> ($ Id.VSub_Number 1) <' >output &&\n'> <'\ttest_cmp expect output\n'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <check_all_output>
      name: check_all_output
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <check_output>
              more_env: []
              words: [{<check_output>} {(SQ <cached>)} {(SQ <file>)}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <check_output>
              more_env: []
              words: [{<check_output>} {(SQ <modified>)} {(SQ <file>)}]
              redirects: []
              do_fork: T
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.Simple
      blame_tok: <check_all_output>
      more_env: []
      words: [{<check_all_output>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'add file to gitignore'>)}
        {(SQ <'\n'> <'\techo file >.gitignore\n'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <check_all_output>
      more_env: []
      words: [{<check_all_output>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'ls-files -i lists only tracked-but-ignored files'>)}
        {
          (SQ <'\n'> <'\techo content >other-file &&\n'> <'\tgit add other-file &&\n'> 
            <'\techo file >expect &&\n'> <'\tgit ls-files -i --exclude-standard >output &&\n'> <'\ttest_cmp expect output\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)