summaryrefslogtreecommitdiff
path: root/tests/misc/fold
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/fold')
-rwxr-xr-xtests/misc/fold2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/fold b/tests/misc/fold
index 343279603..df017019e 100755
--- a/tests/misc/fold
+++ b/tests/misc/fold
@@ -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"