]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include /bin/sh driver framework.
authorJim Meyering <jim@meyering.net>
Sat, 3 Oct 1998 04:59:26 +0000 (04:59 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Oct 1998 04:59:26 +0000 (04:59 +0000)
tests/ls-2/quoting

index dbc1827135a5f4cb9c38bcda67abd21bd0002a06..6a3e3819f9081a311c8809aa5e4861d08b184133 100755 (executable)
@@ -1,4 +1,16 @@
-#!/usr/bin/perl -w
+#!/bin/sh
+
+: ${PERL=perl}
+: ${srcdir=.}
+
+case "$PERL" in
+  *'missing perl')
+  echo 1>&2 "$0: configure didn't find a usable version of Perl, so can't run this test"
+  exit 77
+  ;;
+esac
+
+exec $PERL -w -I$srcdir/.. -MFetish -- - << \EOF
 require 5.003;
 use strict;
 
@@ -38,3 +50,4 @@ my $verbose = $ENV{VERBOSE};
 my $prog = $ENV{PROG} || die "$0: \$PROG not specified in environment\n";
 my $fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose);
 exit $fail;
+EOF