[Python-bugs-list] [ python-Bugs-697556 ] test_posix fails: getlogin

SourceForge.net noreply@sourceforge.net
Tue, 04 Mar 2003 14:02:49 -0800


Bugs item #697556, was opened at 2003-03-04 22:02
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=697556&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Stone (mbrierst)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_posix fails: getlogin

Initial Comment:

I see bug #690081 made this run only in interactive
mode, but it still fails for me when I do a make test.
Apparently my utmp is in an unexpected place,
/var/run/, which I guess doesn't agree with my libc?

I don't know how common this bug will be for other
people, but if anyone else experiences it you should
probably just get rid of the getlogin test altogether,
or at least catch the OSError: (2, 'No such file or directory')
and don't have that mean test failure.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=697556&group_id=5470