* testenv/conf/expected_files.py: Ignore pubring.gpg

Reported-by: Arkadiusz Miśkiewicz
This commit is contained in:
Tim Rühsen 2018-01-31 09:04:37 +01:00
parent 0caed28cda
commit f2d6075a6e

View File

@ -24,9 +24,10 @@ class ExpectedFiles:
snapshot = {}
for parent, dirs, files in os.walk('.'):
for name in files:
# pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme if $HOME doesn't contain the .gnupg directory.
# pubring.gpg, pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme
# if $HOME doesn't contain the .gnupg directory.
# setting $HOME to CWD (in base_test.py) breaks two Metalink tests, so we skip this file here.
if name in [ 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
if name in [ 'pubring.gpg', 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
continue
f = {'content': ''}