diff options
Diffstat (limited to 'tests/misc/dirname')
-rwxr-xr-x | tests/misc/dirname | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/dirname b/tests/misc/dirname index d88c9a953..7d0ffda8a 100755 --- a/tests/misc/dirname +++ b/tests/misc/dirname @@ -20,6 +20,8 @@ : ${PERL=perl} : ${srcdir=.} +PROG=`echo $0|sed 's,.*/,,'`; export PROG + $PERL -e 1 > /dev/null 2>&1 || { echo 1>&2 "$0: configure didn't find a usable version of Perl," \ "so can't run this test" |