diff options
Diffstat (limited to 'tests/pr')
-rwxr-xr-x | tests/pr/pr-tests | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/pr/pr-tests b/tests/pr/pr-tests index 7b53f2316..b5fe2e09e 100755 --- a/tests/pr/pr-tests +++ b/tests/pr/pr-tests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/perl # Test pr. # 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/>. -: ${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; # Turn off localization of executable's output. @@ -446,4 +440,3 @@ my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($prog, $prog, \@Tests, $save_temps, $verbose); exit $fail; -EOF |