summaryrefslogtreecommitdiff
path: root/tests/misc/mktemp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/mktemp')
-rwxr-xr-xtests/misc/mktemp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/mktemp b/tests/misc/mktemp
index da576e8b2..ed4b3c2bf 100755
--- a/tests/misc/mktemp
+++ b/tests/misc/mktemp
@@ -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