From 920fa6a102f8d5f46a2e0552e85ae295882a92bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 22 Oct 2006 13:46:23 +0000 Subject: Remove passwd.adjunct.byname from list of maps for test_nis. --- Lib/test/test_nis.py | 7 +++++++ Misc/NEWS | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/Lib/test/test_nis.py b/Lib/test/test_nis.py index f5224fe..74ceeea 100644 --- a/Lib/test/test_nis.py +++ b/Lib/test/test_nis.py @@ -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: diff --git a/Misc/NEWS b/Misc/NEWS index 0b7fdc3..8b822e9 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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 ----- -- cgit v0.12