[Python-checkins] r52421 - in python/branches/release25-maint: Lib/test/test_nis.py Misc/NEWS

martin.v.loewis python-checkins at python.org
Sun Oct 22 15:46:23 CEST 2006


Author: martin.v.loewis
Date: Sun Oct 22 15:46:23 2006
New Revision: 52421

Modified:
   python/branches/release25-maint/Lib/test/test_nis.py
   python/branches/release25-maint/Misc/NEWS
Log:
Remove passwd.adjunct.byname from list of maps
for test_nis.


Modified: python/branches/release25-maint/Lib/test/test_nis.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_nis.py	(original)
+++ python/branches/release25-maint/Lib/test/test_nis.py	Sun Oct 22 15:46:23 2006
@@ -11,6 +11,13 @@
     # only do this if running under the regression suite
     raise TestSkipped, msg
 
+try:
+    # On some systems, this map is only accessible to the
+    # super user
+    maps.remove("passwd.adjunct.byname")
+except ValueError:
+    pass
+
 done = 0
 for nismap in maps:
     if verbose:

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Sun Oct 22 15:46:23 2006
@@ -108,6 +108,13 @@
   the close_fds arg to subprocess.Popen is not supported).
 
 
+Tests
+-----
+
+- Remove passwd.adjunct.byname from list of maps
+  for test_nis.
+
+
 Build
 -----
 


More information about the Python-checkins mailing list