check: Name the sentinal variable more sanely

This commit is contained in:
Richo Healey 2015-03-27 16:54:46 -07:00
parent e4f9ce8cbf
commit 146264c6ae

View file

@ -39,7 +39,7 @@ def only_on(platforms):
def check_rlimit_core():
soft, hard = resource.getrlimit(resource.RLIMIT_CORE)
if soft > 0:
error_unless_permitted('ALLOW_NONZERO_ULIMIT',
error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE',
("The rust test suite will segfault many rustc's in the debuginfo phase.\n"
"set ALLOW_NONZERO_ULIMIT to ignore this warning\n"))