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_grp.py doesn't skip special NIS entry, fails
Type: Stage:
Components: Tests Versions: Python 2.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: martineau
Priority: normal Keywords: patch

Created on 2006-06-22 23:08 by martineau, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
grp.patch martineau, 2006-06-22 23:08
Messages (2)
msg50522 - (view) Author: Mat Martineau (martineau) Date: 2006-06-22 23:08
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)
msg50523 - (view) Author: Mat Martineau (martineau) Date: 2006-09-15 22:36
Logged In: YES 
user_id=1094573

See bug 775964.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43539
2006-06-22 23:08:36martineaucreate