(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 <'test git worktree move, remove, lock and unlock'>)}
        )
      ]
      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 <setup>)}
        {
          (SQ <'\n'> <'\ttest_commit init &&\n'> <'\tgit worktree add source &&\n'> 
            <'\tgit worktree list --porcelain | grep "^worktree" >actual &&\n'> <'\tcat <<-EOF >expected &&\n'> <'\tworktree $(pwd)\n'> <'\tworktree $(pwd)/source\n'> <'\tEOF\n'> 
            <'\ttest_cmp expected actual\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'lock main worktree'>)}
        {(SQ <'\n'> <'\ttest_must_fail git worktree lock .\n'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'lock linked worktree'>)}
        {
          (SQ <'\n'> <'\tgit worktree lock --reason hahaha source &&\n'> 
            <'\techo hahaha >expected &&\n'> <'\ttest_cmp expected .git/worktrees/source/locked\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'lock linked worktree from another worktree'>)}
        {
          (SQ <'\n'> <'\trm .git/worktrees/source/locked &&\n'> <'\tgit worktree add elsewhere &&\n'> 
            <'\tgit -C elsewhere worktree lock --reason hahaha ../source &&\n'> <'\techo hahaha >expected &&\n'> <'\ttest_cmp expected .git/worktrees/source/locked\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'lock worktree twice'>)}
        {
          (SQ <'\n'> <'\ttest_must_fail git worktree lock source &&\n'> 
            <'\techo hahaha >expected &&\n'> <'\ttest_cmp expected .git/worktrees/source/locked\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'lock worktree twice (from the locked worktree)'>)}
        {
          (SQ <'\n'> <'\ttest_must_fail git -C source worktree lock . &&\n'> 
            <'\techo hahaha >expected &&\n'> <'\ttest_cmp expected .git/worktrees/source/locked\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'unlock main worktree'>)}
        {(SQ <'\n'> <'\ttest_must_fail git worktree unlock .\n'>)}
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'unlock linked worktree'>)}
        {
          (SQ <'\n'> <'\tgit worktree unlock source &&\n'> 
            <'\ttest_path_is_missing .git/worktrees/source/locked\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_expect_success>
      more_env: []
      words: [
        {<test_expect_success>}
        {(SQ <'unlock worktree twice'>)}
        {
          (SQ <'\n'> <'\ttest_must_fail git worktree unlock source &&\n'> 
            <'\ttest_path_is_missing .git/worktrees/source/locked\n'>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <test_done>
      more_env: []
      words: [{<test_done>}]
      redirects: []
      do_fork: T
    )
  ]
)