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
files: EKIT.PATCH4
messages: 93026
nosy: iandekit
severity: normal
status: open
title: test_posix getcwd test leaves tmp  dir
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file14954/EKIT.PATCH4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6974>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to