From 4af204ddee0fbb61eddf9579ede9f0214c942ba0 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Fri, 27 Mar 2015 16:54:56 -0700 Subject: [PATCH] check: Reword the warning to be more prescriptive --- src/etc/check-sanitycheck.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/etc/check-sanitycheck.py b/src/etc/check-sanitycheck.py index 5822cc0259fe..0d9c430ec3ac 100644 --- a/src/etc/check-sanitycheck.py +++ b/src/etc/check-sanitycheck.py @@ -39,9 +39,11 @@ def only_on(platforms): def check_rlimit_core(): soft, hard = resource.getrlimit(resource.RLIMIT_CORE) if soft > 0: - 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")) + error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE', """\ +RLIMIT_CORE is set to a nonzero value (%d). During debuginfo, the test suite +will segfault many rustc's, creating many potentially large core files. +set ALLOW_NONZERO_RLIMIT_CORE to ignore this warning +""" % (soft)) def main():