summaryrefslogtreecommitdiff
path: root/tests/misc/fmt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/fmt')
-rwxr-xr-xtests/misc/fmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/fmt b/tests/misc/fmt
index 043bf723a..0cc9ba251 100755
--- a/tests/misc/fmt
+++ b/tests/misc/fmt
@@ -21,7 +21,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