[Patches] [ python-Patches-1510987 ] test_grp.py doesn't skip special NIS entry, fails

SourceForge.net noreply at sourceforge.net
Fri Jun 23 01:08:36 CEST 2006


Patches item #1510987, was opened at 2006-06-22 16:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1510987&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tests
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Mat Martineau (martineau)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_grp.py doesn't skip special NIS entry, fails

Initial Comment:
Lib/test/test_grp.py is failing due to a "+:::" line in
/etc/group.

The test_errors() method checks for (and ignores) this
type of entry, but test_values() does not.

This patch makes test_values() ignore '+' or blank
entries, using the same logic as test_errors().

Python:  2.5b1 (svn revision 47078)
Platform:  Linux 2.6.16 (Suse 10.1)


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

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


More information about the Patches mailing list