summaryrefslogtreecommitdiff
path: root/t/proxyconfig.t
diff options
context:
space:
mode:
Diffstat (limited to 't/proxyconfig.t')
-rw-r--r--t/proxyconfig.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/proxyconfig.t b/t/proxyconfig.t
index ebf8684..299a417 100644
--- a/t/proxyconfig.t
+++ b/t/proxyconfig.t
@@ -15,15 +15,15 @@ use MemcachedTest;
use IO::Select;
use IO::Socket qw(AF_INET SOCK_STREAM);
+# TODO: possibly... set env var to a generated temp filename before starting
+# the server so we can pass that in?
+my $modefile = "/tmp/proxyconfigmode.lua";
+
if (!supports_proxy()) {
plan skip_all => 'proxy not enabled';
exit 0;
}
-# TODO: possibly... set env var to a generated temp filename before starting
-# the server so we can pass that in?
-my $modefile = "/tmp/proxyconfigmode.lua";
-
# Set up some server sockets.
sub mock_server {
my $port = shift;