From 7f45725b97c8cc2cbb39ff50885dd39356072338 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 27 Oct 2012 18:26:19 +0200 Subject: [PATCH] maintcheck: fix the name of a check * (sc_tests_Exit_not_exit): Rename ... (sc_tests_exit_not_Exit): ... like this, which is more faithful to what the check actually does. Adjust a grammaro in comments while at it. (syntax_check_rules): Adjust. Signed-off-by: Stefano Lattarini --- syntax-checks.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syntax-checks.mk b/syntax-checks.mk index 7640b30..dd23e2f 100644 --- a/syntax-checks.mk +++ b/syntax-checks.mk @@ -64,7 +64,7 @@ sc_tests_no_source_defs \ sc_tests_obsolete_variables \ sc_tests_here_document_format \ sc_tests_command_subst \ -sc_tests_Exit_not_exit \ +sc_tests_exit_not_Exit \ sc_tests_automake_fails \ sc_tests_required_after_defs \ sc_tests_overriding_macros_on_cmdline \ @@ -326,10 +326,10 @@ sc_tests_command_subst: exit 1; \ fi -## Tests should no more call 'Exit', just 'exit'. That's because we +## Tests should no longer call 'Exit', just 'exit'. That's because we ## now have in place a better workaround to ensure the exit status is ## transported correctly across the exit trap. -sc_tests_Exit_not_exit: +sc_tests_exit_not_Exit: @if grep 'Exit' $(xtests) $(xdefs) | grep -Ev '^[^:]+: *#' | grep .; then \ echo "Use 'exit', not 'Exit'; it's obsolete now." 1>&2; \ exit 1; \ -- 2.7.4