Skip to content

Commit

Permalink
Adjust test for NERSC password file
Browse files Browse the repository at this point in the history
Now test for start and end of passwd file path.
  • Loading branch information
timj committed Jun 19, 2018
1 parent cf0c02d commit 0bf93bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/utils/tests.py
Expand Up @@ -217,7 +217,7 @@ def testFileDescriptorLeaks(self):
now_open = set(f for f in now_open if not f.endswith(".car") and
not f.startswith("/proc/") and
not f.endswith(".ttf") and
f != "/var/lib/sss/mc/passwd" and
not (f.startswith("/var/lib/") and f.endswith("/passwd")) and
not f.endswith("astropy.log"))

diff = now_open.difference(open_files)
Expand Down

0 comments on commit 0bf93bc

Please sign in to comment.