fix(test): Detect more core filenames

This commit is contained in:
James McCoy
2021-04-03 00:15:51 -04:00
parent ce9b5848f9
commit 6a03bcc3c2
2 changed files with 6 additions and 2 deletions

View File

@@ -365,7 +365,11 @@ function module.check_cores(app, force)
db_cmd = lldb_db_cmd
else
initial_path = '.'
re = '/core[^/]*$'
if 'freebsd' == module.uname() then
re = '/nvim.core$'
else
re = '/core[^/]*$'
end
exc_re = { '^/%.deps$', '^/%'..deps_prefix()..'$', local_tmpdir, '^/%node_modules$' }
db_cmd = gdb_db_cmd
random_skip = true