summaryrefslogtreecommitdiff
path: root/tests/misc/cut
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/cut')
-rwxr-xr-xtests/misc/cut2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/cut b/tests/misc/cut
index 44758343c..0a8ae3ae6 100755
--- a/tests/misc/cut
+++ b/tests/misc/cut
@@ -19,7 +19,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