diff options
Diffstat (limited to 'tests/misc/mktemp')
-rwxr-xr-x | tests/misc/mktemp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/misc/mktemp b/tests/misc/mktemp index 835b43858..616a9e44f 100755 --- a/tests/misc/mktemp +++ b/tests/misc/mktemp @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/perl # Test "mktemp". # Copyright (C) 2007-2008 Free Software Foundation, Inc. @@ -14,16 +14,8 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# 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; (my $ME = $0) =~ s|.*/||; @@ -112,4 +104,3 @@ my $verbose = $ENV{VERBOSE}; my $fail = run_tests ($ME, $prog, \@Tests, $save_temps, $verbose); exit $fail; -EOF |