summaryrefslogtreecommitdiff
path: root/tests/misc/dirname
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/dirname')
-rwxr-xr-xtests/misc/dirname2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/dirname b/tests/misc/dirname
index 7d0ffda8a..0530175bf 100755
--- a/tests/misc/dirname
+++ b/tests/misc/dirname
@@ -22,7 +22,7 @@
PROG=`echo $0|sed 's,.*/,,'`; export PROG
-$PERL -e 1 > /dev/null 2>&1 || {
+$PERL -e 'use warnings;' > /dev/null 2>&1 || {
echo 1>&2 "$0: configure didn't find a usable version of Perl," \
"so can't run this test"
exit 77