(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 <'detect unwritable repository and fail correctly'>)}
        )
      ]
      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>}
        {<setup>}
        {
          (SQ <'\n'> <'\n'> <'\t>file &&\n'> <'\tgit add file &&\n'> <'\ttest_tick &&\n'> 
            <'\tgit commit -m initial &&\n'> <'\techo >file &&\n'> <'\tgit add file\n'> <'\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {<POSIXPERM> <Id.Lit_Comma ','> <SANITY>}
        {(SQ <'write-tree should notice unwritable repository'>)}
        {
          (SQ <'\n'> <'\ttest_when_finished "chmod 775 .git/objects .git/objects/??" &&\n'> 
            <'\tchmod a-w .git/objects .git/objects/?? &&\n'> <'\ttest_must_fail git write-tree\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {<POSIXPERM> <Id.Lit_Comma ','> <SANITY>}
        {(SQ <'commit should notice unwritable repository'>)}
        {
          (SQ <'\n'> <'\ttest_when_finished "chmod 775 .git/objects .git/objects/??" &&\n'> 
            <'\tchmod a-w .git/objects .git/objects/?? &&\n'> <'\ttest_must_fail git commit -m second\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {<POSIXPERM> <Id.Lit_Comma ','> <SANITY>}
        {(SQ <'update-index should notice unwritable repository'>)}
        {
          (SQ <'\n'> <'\ttest_when_finished "chmod 775 .git/objects .git/objects/??" &&\n'> 
            <'\techo 6O >file &&\n'> <'\tchmod a-w .git/objects .git/objects/?? &&\n'> <'\ttest_must_fail git update-index file\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {<POSIXPERM> <Id.Lit_Comma ','> <SANITY>}
        {(SQ <'add should notice unwritable repository'>)}
        {
          (SQ <'\n'> <'\ttest_when_finished "chmod 775 .git/objects .git/objects/??" &&\n'> 
            <'\techo b >file &&\n'> <'\tchmod a-w .git/objects .git/objects/?? &&\n'> <'\ttest_must_fail git add file\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)