}
-- Sandbox can set global variables
-files['daemon/lua'].ignore = {'111', '121', '122'}
-files['daemon/lua/kres-gen.lua'].ignore = {'631'} -- Allow overly long lines
+files['**/daemon/lua'].ignore = {'111', '121', '122'}
+files['**/daemon/lua/kres-gen.lua'].ignore = {'631'} -- Allow overly long lines
-- Tests and scripts can use global variables
files['scripts'].ignore = {'111', '112', '113'}
files['tests'].ignore = {'111', '112', '113'}
-files['modules/**/*.test.lua'].ignore = {'111', '112', '113', '121', '122'}
-files['daemon/**/*.test.lua'].ignore = {'111', '112', '113', '121', '122'}
+files['**/modules/**/*.test.lua'].ignore = {'111', '112', '113', '121', '122'}
+files['**/daemon/**/*.test.lua'].ignore = {'111', '112', '113', '121', '122'}
Missing = 'Missing', Revoked = 'Revoked', Removed = 'Removed'
}
-local function upgrade_required(field)
+local function upgrade_required()
panic('Configuration upgrade required! Please refer to ' ..
'https://knot-resolver.readthedocs.io/en/stable/upgrading.html')
end
trust_anchors.remove('.')
same(trust_anchors.keysets['\0'], nil, 'Lua interface does not have the removed key')
- local root_ta = ffi.C.kr_ta_get(ta_c, '\0')
+ root_ta = ffi.C.kr_ta_get(ta_c, '\0')
same(root_ta == nil, true, 'C interface does not have the removed key')
end