summaryrefslogtreecommitdiff
path: root/tests/misc/xstrtol
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/xstrtol')
-rwxr-xr-xtests/misc/xstrtol2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/xstrtol b/tests/misc/xstrtol
index aa2b8a7b5..7fdc4da56 100755
--- a/tests/misc/xstrtol
+++ b/tests/misc/xstrtol
@@ -24,7 +24,7 @@ fi
: ${PERL=perl}
: ${srcdir=.}
-$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