diff options
author | David CARLIER <devnexen@gmail.com> | 2022-02-26 08:28:07 +0000 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2022-08-25 20:41:07 -0700 |
commit | a102df4554e18c8733331f61a1285dd6f6ff4d39 (patch) | |
tree | 098b92d57d4fd4d3f35d426f9ae8d01d05afe66a | |
parent | a76c1155140bf04751ff437db6d1eb0b66af349b (diff) | |
download | memcached-a102df4554e18c8733331f61a1285dd6f6ff4d39.tar.gz |
Find perl via /usr/bin/env instead of directly
At least FreeBSD has perl in /usr/local/bin/perl and no symlink by
default.
85 files changed, 85 insertions, 85 deletions
diff --git a/devtools/bench_noreply.pl b/devtools/bench_noreply.pl index 365c682..650667e 100644 --- a/devtools/bench_noreply.pl +++ b/devtools/bench_noreply.pl @@ -1,4 +1,4 @@ -#! /usr/bin/perl +#! /usr/bin/env perl # use warnings; use strict; diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl index 0c729ca..6835669 100755 --- a/devtools/clean-whitespace.pl +++ b/devtools/clean-whitespace.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use FindBin qw($Bin); chdir "$Bin/.." or die; diff --git a/t/00-startup.t b/t/00-startup.t index 0e84916..7144153 100755 --- a/t/00-startup.t +++ b/t/00-startup.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 21; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More; diff --git a/t/ascii-auth.t b/t/ascii-auth.t index 3518249..40ca376 100644 --- a/t/ascii-auth.t +++ b/t/ascii-auth.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 9; diff --git a/t/binary-extstore.t b/t/binary-extstore.t index 39de347..d5da0b6 100755 --- a/t/binary-extstore.t +++ b/t/binary-extstore.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/binary-get.t b/t/binary-get.t index f57a8a3..333407c 100755 --- a/t/binary-get.t +++ b/t/binary-get.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 8; diff --git a/t/binary-sasl.t b/t/binary-sasl.t index 4864694..b996dd4 100755 --- a/t/binary-sasl.t +++ b/t/binary-sasl.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/bogus-commands.t b/t/bogus-commands.t index aaae6cd..99a4eb4 100755 --- a/t/bogus-commands.t +++ b/t/bogus-commands.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 1; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 43; diff --git a/t/chunked-extstore.t b/t/chunked-extstore.t index 2ffd612..4eace57 100644 --- a/t/chunked-extstore.t +++ b/t/chunked-extstore.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Networked logging tests. use strict; diff --git a/t/chunked-items.t b/t/chunked-items.t index 615e66f..09024cd 100644 --- a/t/chunked-items.t +++ b/t/chunked-items.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Networked logging tests. use strict; diff --git a/t/conn-limits.t b/t/conn-limits.t index b354d97..ce1c666 100644 --- a/t/conn-limits.t +++ b/t/conn-limits.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Test connection memory limits. use strict; diff --git a/t/daemonize.t b/t/daemonize.t index e6fe7f5..a6a02b3 100755 --- a/t/daemonize.t +++ b/t/daemonize.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 7; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More; diff --git a/t/dyn-maxbytes.t b/t/dyn-maxbytes.t index 85809ae..5d10df0 100644 --- a/t/dyn-maxbytes.t +++ b/t/dyn-maxbytes.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Test the 'stats items' evictions counters. use strict; diff --git a/t/error-extstore.t b/t/error-extstore.t index 865360c..a9584d0 100644 --- a/t/error-extstore.t +++ b/t/error-extstore.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Test the "Error on get" path for extstore. # the entire error handling code for process_get_command() never worked, and # would infinite loop. get_extstore() can hit it sometimes. diff --git a/t/evictions.t b/t/evictions.t index d0fa394..40d69d7 100644 --- a/t/evictions.t +++ b/t/evictions.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Test the 'stats items' evictions counters. use strict; diff --git a/t/expirations.t b/t/expirations.t index f796bd1..6ab7d70 100755 --- a/t/expirations.t +++ b/t/expirations.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 41; diff --git a/t/extstore-buckets.t b/t/extstore-buckets.t index e3027ad..0084ca0 100644 --- a/t/extstore-buckets.t +++ b/t/extstore-buckets.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/extstore-jbod.t b/t/extstore-jbod.t index de8e5e8..fece59d 100644 --- a/t/extstore-jbod.t +++ b/t/extstore-jbod.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/extstore.t b/t/extstore.t index 0304662..9678a4e 100644 --- a/t/extstore.t +++ b/t/extstore.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 8; diff --git a/t/flush-all.t b/t/flush-all.t index 2f7f645..361a71a 100755 --- a/t/flush-all.t +++ b/t/flush-all.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 27; diff --git a/t/getandtouch.t b/t/getandtouch.t index 1efe6b6..1ac2543 100644 --- a/t/getandtouch.t +++ b/t/getandtouch.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 37991; diff --git a/t/idle-timeout.t b/t/idle-timeout.t index 75d2184..c726726 100644 --- a/t/idle-timeout.t +++ b/t/idle-timeout.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/incrdecr.t b/t/incrdecr.t index e0ba65f..f44cbf8 100755 --- a/t/incrdecr.t +++ b/t/incrdecr.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 23; diff --git a/t/issue_104.t b/t/issue_104.t index 2213f69..a428b0d 100755 --- a/t/issue_104.t +++ b/t/issue_104.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 6; diff --git a/t/issue_108.t b/t/issue_108.t index 07a78b7..3a07bd3 100644 --- a/t/issue_108.t +++ b/t/issue_108.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 4; diff --git a/t/issue_14.t b/t/issue_14.t index fb14b03..2b5a8e8 100644 --- a/t/issue_14.t +++ b/t/issue_14.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 21; diff --git a/t/issue_140.t b/t/issue_140.t index 16eac3d..b438c35 100644 --- a/t/issue_140.t +++ b/t/issue_140.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More; diff --git a/t/issue_152.t b/t/issue_152.t index 81aa710..ec6fb84 100644 --- a/t/issue_152.t +++ b/t/issue_152.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 2; diff --git a/t/issue_163.t b/t/issue_163.t index 9931e37..a42f41b 100644 --- a/t/issue_163.t +++ b/t/issue_163.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 7; diff --git a/t/issue_183.t b/t/issue_183.t index 6845691..cc4a51c 100644 --- a/t/issue_183.t +++ b/t/issue_183.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 5; diff --git a/t/issue_192.t b/t/issue_192.t index c58e206..24dac1d 100644 --- a/t/issue_192.t +++ b/t/issue_192.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 2; diff --git a/t/issue_22.t b/t/issue_22.t index 403d3d3..822e1f7 100644 --- a/t/issue_22.t +++ b/t/issue_22.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 84; diff --git a/t/issue_260.t b/t/issue_260.t index 59fa55b..16fec25 100755 --- a/t/issue_260.t +++ b/t/issue_260.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Issue #260 is a terrible bug. # In order to run this test: # * checkout 1.4.15 diff --git a/t/issue_29.t b/t/issue_29.t index a585f97..556284c 100644 --- a/t/issue_29.t +++ b/t/issue_29.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 4; diff --git a/t/issue_3.t b/t/issue_3.t index 66aaf16..7ea5cc0 100644 --- a/t/issue_3.t +++ b/t/issue_3.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 8; diff --git a/t/issue_41.t b/t/issue_41.t index fb1a292..e848c3f 100644 --- a/t/issue_41.t +++ b/t/issue_41.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/issue_42.t b/t/issue_42.t index b1b70b0..c975f39 100644 --- a/t/issue_42.t +++ b/t/issue_42.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 11; diff --git a/t/issue_50.t b/t/issue_50.t index 80876b2..c8a8525 100644 --- a/t/issue_50.t +++ b/t/issue_50.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 1; diff --git a/t/issue_61.t b/t/issue_61.t index e55e1f3..3391120 100644 --- a/t/issue_61.t +++ b/t/issue_61.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 7; diff --git a/t/issue_67.t b/t/issue_67.t index 1dbaba2..43c1c80 100644 --- a/t/issue_67.t +++ b/t/issue_67.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 24; diff --git a/t/issue_68.t b/t/issue_68.t index 94e3e95..b126fe1 100644 --- a/t/issue_68.t +++ b/t/issue_68.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 996; diff --git a/t/issue_70.t b/t/issue_70.t index 95e39db..b6af4aa 100644 --- a/t/issue_70.t +++ b/t/issue_70.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 4; diff --git a/t/item_size_max.t b/t/item_size_max.t index bfef134..6ee50a0 100644 --- a/t/item_size_max.t +++ b/t/item_size_max.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 7; diff --git a/t/line-lengths.t b/t/line-lengths.t index 829f4d0..5475bea 100755 --- a/t/line-lengths.t +++ b/t/line-lengths.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use FindBin qw($Bin); our @files; diff --git a/t/lru-crawler.t b/t/lru-crawler.t index eab2e6f..8bfa885 100644 --- a/t/lru-crawler.t +++ b/t/lru-crawler.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/lru-maintainer.t b/t/lru-maintainer.t index 93091af..666b959 100644 --- a/t/lru-maintainer.t +++ b/t/lru-maintainer.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 149; diff --git a/t/malicious-commands.t b/t/malicious-commands.t index c2a072f..06fb0c6 100644 --- a/t/malicious-commands.t +++ b/t/malicious-commands.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # These command strings are always expected to be malicious and as such we # should just hang up on them. diff --git a/t/maxconns.t b/t/maxconns.t index 816d76f..b12c2d9 100755 --- a/t/maxconns.t +++ b/t/maxconns.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/metaget.t b/t/metaget.t index 1555193..6ea17ca 100644 --- a/t/metaget.t +++ b/t/metaget.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/misbehave.t b/t/misbehave.t index 7438e8e..b5009e3 100755 --- a/t/misbehave.t +++ b/t/misbehave.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More; diff --git a/t/multiversioning.t b/t/multiversioning.t index c65c2df..f7cf8c7 100755 --- a/t/multiversioning.t +++ b/t/multiversioning.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 13; diff --git a/t/noreply.t b/t/noreply.t index 6aa3dc2..e1e9ea0 100644 --- a/t/noreply.t +++ b/t/noreply.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 9; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 1; diff --git a/t/refhang.t b/t/refhang.t index 1a1c4c9..d736d0b 100644 --- a/t/refhang.t +++ b/t/refhang.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/restart.t b/t/restart.t index 277bcae..4a398f1 100644 --- a/t/restart.t +++ b/t/restart.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/shutdown.t b/t/shutdown.t index 1d2d0c4..d0a1e68 100644 --- a/t/shutdown.t +++ b/t/shutdown.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/slabhang.t b/t/slabhang.t index 4a4ffd8..578c7d5 100644 --- a/t/slabhang.t +++ b/t/slabhang.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/slabs-reassign-chunked.t b/t/slabs-reassign-chunked.t index efc87fa..49b9fbf 100644 --- a/t/slabs-reassign-chunked.t +++ b/t/slabs-reassign-chunked.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/slabs-reassign2.t b/t/slabs-reassign2.t index 6762a8f..cd4736d 100644 --- a/t/slabs-reassign2.t +++ b/t/slabs-reassign2.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/slabs_reassign.t b/t/slabs_reassign.t index 9a3a525..e3b0d35 100644 --- a/t/slabs_reassign.t +++ b/t/slabs_reassign.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/ssl_cert_refresh.t b/t/ssl_cert_refresh.t index 3a01959..749fdb8 100644 --- a/t/ssl_cert_refresh.t +++ b/t/ssl_cert_refresh.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/ssl_ports.t b/t/ssl_ports.t index d717f63..4f1c3b8 100644 --- a/t/ssl_ports.t +++ b/t/ssl_ports.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/ssl_proto_version.t b/t/ssl_proto_version.t index 4262db8..97f310b 100644 --- a/t/ssl_proto_version.t +++ b/t/ssl_proto_version.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use warnings; use Test::More; diff --git a/t/ssl_session_resumption.t b/t/ssl_session_resumption.t index d2245c8..0776db6 100644 --- a/t/ssl_session_resumption.t +++ b/t/ssl_session_resumption.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use warnings; use Test::More; diff --git a/t/ssl_settings.t b/t/ssl_settings.t index 2fe9a0f..f4c6004 100644 --- a/t/ssl_settings.t +++ b/t/ssl_settings.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/ssl_verify_modes.t b/t/ssl_verify_modes.t index 4d6445c..78b5cb9 100644 --- a/t/ssl_verify_modes.t +++ b/t/ssl_verify_modes.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use warnings; diff --git a/t/stats-conns.t b/t/stats-conns.t index 0b06d1f..c7333cc 100755 --- a/t/stats-conns.t +++ b/t/stats-conns.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More; diff --git a/t/stats-detail.t b/t/stats-detail.t index b7099a2..fab5243 100644 --- a/t/stats-detail.t +++ b/t/stats-detail.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 24; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 113; diff --git a/t/stress-memcached.pl b/t/stress-memcached.pl index aeacbc2..7fab0ff 100755 --- a/t/stress-memcached.pl +++ b/t/stress-memcached.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # use strict; diff --git a/t/strtol-testing.t b/t/strtol-testing.t index d7f5ba2..c380ec1 100644 --- a/t/strtol-testing.t +++ b/t/strtol-testing.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 2; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 4; @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More tests => 67; diff --git a/t/unixsocket.t b/t/unixsocket.t index a9541f1..6788749 100755 --- a/t/unixsocket.t +++ b/t/unixsocket.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use Test::More; diff --git a/t/watcher.t b/t/watcher.t index 360265e..ddde520 100755 --- a/t/watcher.t +++ b/t/watcher.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Networked logging tests. use strict; diff --git a/t/watcher_connid.t b/t/watcher_connid.t index 019a2ef..a5f527b 100644 --- a/t/watcher_connid.t +++ b/t/watcher_connid.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Test for adding connection id to the output when watching fetchers # and mutations. # Note that this test relies on the order of connection establishments. This diff --git a/t/whitespace.t b/t/whitespace.t index f87068e..68e82a9 100755 --- a/t/whitespace.t +++ b/t/whitespace.t @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use strict; use FindBin qw($Bin); our @files; |