diff options
Diffstat (limited to 'tests/misc/head')
-rwxr-xr-x | tests/misc/head | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/misc/head b/tests/misc/head index d4d55e208..d436fcdd7 100755 --- a/tests/misc/head +++ b/tests/misc/head @@ -1,5 +1,5 @@ -#!/bin/sh -# -*- perl -*- +#!/usr/bin/perl +# test head # Copyright (C) 2008 Free Software Foundation, Inc. @@ -16,12 +16,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -: ${top_srcdir=../..} -. $top_srcdir/tests/require-perl - -me=`echo $0|sed 's,.*/,,'` -exec $PERL -w -I$top_srcdir/tests -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF -require 5.003; use strict; my $prog = 'head'; @@ -87,4 +81,3 @@ my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($prog, $prog, \@Tests, $save_temps, $verbose); exit $fail; -EOF |