From: Stefano Lattarini Date: Sun, 2 Sep 2012 19:55:10 +0000 (+0200) Subject: maint: remove anachronistic syntax-check X-Git-Tag: v8.20~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84f5176fcdc8a4015dc3cf8100686b8e8be0c894;p=thirdparty%2Fcoreutils.git maint: remove anachronistic syntax-check * cfg.mk (sc_no_exec_perl_coreutils): This. Our new testsuite layout (perl tests having '.pl' suffix, shell tests having '.sh' suffix) makes it basically impossible to run into the issue this check guarded against. --- diff --git a/cfg.mk b/cfg.mk index 2eb46c7001..68fe82f069 100644 --- a/cfg.mk +++ b/cfg.mk @@ -245,17 +245,6 @@ sc_NEWS_two_empty_lines: || { echo '$(ME): use two empty lines to separate NEWS sections' \ 1>&2; exit 1; } || : -# Perl-based tests used to exec perl from a #!/bin/sh script. -# Now they all start with #!/usr/bin/perl and the portability -# infrastructure is in tests/Makefile.am. Make sure no old-style -# script sneaks back in. -sc_no_exec_perl_coreutils: - @if test -f $(srcdir)/tests/Coreutils.pm; then \ - grep '^exec *\$$PERL.*MCoreutils' $$($(VC_LIST) tests) && \ - { echo 1>&2 '$(ME): found anachronistic Perl-based tests'; \ - exit 1; } || :; \ - fi - # With split lines, don't leave an operator at end of line. # Instead, put it on the following line, where it is more apparent. # Don't bother checking for "*" at end of line, since it provokes