summaryrefslogtreecommitdiff
path: root/tests/misc/expr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/expr')
-rwxr-xr-xtests/misc/expr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/expr b/tests/misc/expr
index 2a7f4c0d5..360d90583 100755
--- a/tests/misc/expr
+++ b/tests/misc/expr
@@ -20,7 +20,7 @@
: ${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