summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-09-02 21:55:10 +0200
committerJim Meyering <meyering@redhat.com>2012-09-05 08:48:28 +0200
commit84f5176fcdc8a4015dc3cf8100686b8e8be0c894 (patch)
tree80ce22931918c843dcae9d7025adaad218f8b584
parentf3e48aeb6c7b2efc117826d208af949088bee0c8 (diff)
downloadcoreutils-84f5176fcdc8a4015dc3cf8100686b8e8be0c894.tar.xz
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.
-rw-r--r--cfg.mk11
1 files changed, 0 insertions, 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