From 432e6df3e46c5bf50c0bcd320bbd506b0cb59f74 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 Oct 1998 04:59:26 +0000 Subject: [PATCH] Include /bin/sh driver framework. --- tests/ls-2/quoting | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/ls-2/quoting b/tests/ls-2/quoting index dbc1827135..6a3e3819f9 100755 --- a/tests/ls-2/quoting +++ b/tests/ls-2/quoting @@ -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 -- 2.47.3