check: Run the rlimit_core check on *BSD

This commit is contained in:
Richo Healey 2015-03-24 17:14:29 -07:00
parent c40ec080ff
commit 93fc804b85

View file

@ -35,7 +35,7 @@ def only_on(platforms):
return decorator
@only_on(('linux', 'darwin'))
@only_on(('linux', 'darwin', 'freebsd', 'openbsd'))
def check_rlimit_core():
soft, hard = resource.getrlimit(resource.RLIMIT_CORE)
if soft > 0: