* testenv/conf/expected_files.py: Ignore common.conf

Copyright-paperwork-exempt: Yes
This commit is contained in:
Jan Palus 2023-05-12 01:44:13 +02:00 committed by Darshit Shah
parent 27a832aee9
commit 6ca59f4d60

View File

@ -24,10 +24,10 @@ class ExpectedFiles:
snapshot = {}
for parent, dirs, files in os.walk('.'):
for name in files:
# pubring.gpg, pubring.kbx, dirmngr.conf, gpg.conf will be created by libgpgme
# pubring.gpg, pubring.kbx, common.conf, 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.gpg', 'pubring.kbx', 'dirmngr.conf', 'gpg.conf' ]:
if name in [ 'pubring.gpg', 'pubring.kbx', 'common.conf', 'dirmngr.conf', 'gpg.conf' ]:
continue
f = {'content': ''}