Merge pull request #4070 from yizhao1/fix

clientreadertestcase.py: set correct config dir for testReadStockJailFilterComplete
pull/4013/merge
Sergey G. Brester 2025-09-12 14:51:14 +02:00 committed by GitHub
commit a8875c36b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ class JailsReaderTest(LogCaptureTestCase):
self.assertTrue(jails.getOptions()) # reads fine
# grab all filter names
filters = set(os.path.splitext(os.path.split(a)[1])[0]
for a in glob.glob(os.path.join('config', 'filter.d', '*.conf'))
for a in glob.glob(os.path.join(CONFIG_DIR, 'filter.d', '*.conf'))
if not (a.endswith('common.conf') or a.endswith('-aggressive.conf')))
# get filters of all jails (filter names without options inside filter[...])
filters_jail = set(