From 84f5176fcdc8a4015dc3cf8100686b8e8be0c894 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 2 Sep 2012 21:55:10 +0200 Subject: 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. --- cfg.mk | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/cfg.mk b/cfg.mk index 2eb46c700..68fe82f06 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 -- cgit v1.2.3-70-g09d2