summaryrefslogtreecommitdiff
path: root/tests/misc/paste-no-nl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/paste-no-nl')
-rwxr-xr-xtests/misc/paste-no-nl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/paste-no-nl b/tests/misc/paste-no-nl
index 68f53a12e..aa5049c7a 100755
--- a/tests/misc/paste-no-nl
+++ b/tests/misc/paste-no-nl
@@ -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