summaryrefslogtreecommitdiff
path: root/tests/misc/od
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/od')
-rwxr-xr-xtests/misc/od11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/misc/od b/tests/misc/od
index ef4314a77..62f43c598 100755
--- a/tests/misc/od
+++ b/tests/misc/od
@@ -1,5 +1,4 @@
-#!/bin/sh
-# -*- perl -*-
+#!/usr/bin/perl
# Exercise od
# Copyright (C) 2006-2008 Free Software Foundation, Inc.
@@ -17,13 +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,.*/,,'`
-me=`echo $0|sed 's,.*/,,'`
-exec $PERL -w -I$top_srcdir/tests -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF
-require 5.003;
use strict;
(my $program_name = $0) =~ s|.*/||;
@@ -73,4 +65,3 @@ my $verbose = $ENV{VERBOSE};
my $prog = 'od';
my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose);
exit $fail;
-EOF