Remove passwd.adjunct.byname from list of maps

for test_nis.
This commit is contained in:
Martin v. Löwis 2006-10-22 13:46:23 +00:00
parent 63a9b8b067
commit 920fa6a102
2 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,13 @@ except nis.error, msg:
# 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:

View File

@ -108,6 +108,13 @@ Library
the close_fds arg to subprocess.Popen is not supported).
Tests
-----
- Remove passwd.adjunct.byname from list of maps
for test_nis.
Build
-----