On Thu, Dec 09 2021, Elijah Newren via GitGitGadget wrote: > From: Elijah Newren <newren@xxxxxxxxx> > [...] > +test_expect_success 'git version continues working from a deleted dir' ' > + mkdir tmp && > + ( > + cd tmp && > + rm -rf ../tmp && > + git version > + ) > +' There's a (minor) regression here in v2.35.0 on AIX (as of 8a0d52dfd87 (t2501: add various tests for removing the current working directory, 2021-12-09)). The tooling on that OS will also refuse to remove the cwd: + mkdir tmp + cd tmp + rm -rf ../tmp rm: Cannot remove the current directory ../tmp. error: last command exited with $?=2 not ok 21 - git version continues working from a deleted dir # Just splitting that into a prereq that checks if the first two lines of the sub-shell works should be a solution in this case, but I only had time for this quick bug report :)