[issue6974] test_posix getcwd test leaves tmp dir

2009-12-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This was fixed in response to another bug report a few months ago. -- nosy: +r.david.murray resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6974] test_posix getcwd test leaves tmp dir

2009-09-22 Thread Ian Donaldson
New submission from Ian Donaldson i...@ekit-inc.com: whilst debugging the getcwd test on Solaris 9 I noticed that the rmtree() failed, as on Solaris rmdir(2) returns EINVAL if cwd is the named directory. Fix is to reorder the rmtree and chdir, see attached patch. -- components: Tests