This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_posix getcwd test leaves tmp dir
Type: behavior Stage:
Components: Tests Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: iandekit, r.david.murray
Priority: normal Keywords:

Created on 2009-09-23 05:47 by iandekit, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
EKIT.PATCH4 iandekit, 2009-09-23 05:47 rmtree fix for test_posix
Messages (2)
msg93026 - (view) Author: Ian Donaldson (iandekit) Date: 2009-09-23 05:47
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.
msg95869 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-12-01 19:20
This was fixed in response to another bug report a few months ago.
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51223
2009-12-01 19:20:07r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg95869

resolution: out of date
2009-09-23 05:47:05iandekitcreate