summaryrefslogtreecommitdiffstats
path: root/debian/vendor-h2o/t/40unix-socket.t
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:49:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:49:40 +0000
commitc96f16e8103783f6b98d9f844ea3a7f2195e4834 (patch)
tree479bef5e7eb5d4f04ba171931c8b47335734e161 /debian/vendor-h2o/t/40unix-socket.t
parentMerging upstream version 1.9.4. (diff)
downloaddnsdist-debian/1.9.4-1.tar.xz
dnsdist-debian/1.9.4-1.zip
Adding debian version 1.9.4-1.debian/1.9.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/vendor-h2o/t/40unix-socket.t')
-rw-r--r--debian/vendor-h2o/t/40unix-socket.t28
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/vendor-h2o/t/40unix-socket.t b/debian/vendor-h2o/t/40unix-socket.t
deleted file mode 100644
index 985e76d..0000000
--- a/debian/vendor-h2o/t/40unix-socket.t
+++ /dev/null
@@ -1,28 +0,0 @@
-use strict;
-use warnings;
-use Digest::MD5 qw(md5_hex);
-use File::Temp qw(tempdir);
-use Test::More;
-use t::Util;
-
-plan skip_all => 'nc -U not found'
- unless prog_exists('nc') and `nc -h 2>&1` =~ /-U\t+Use UNIX domain socket/;
-
-my $tempdir = tempdir(CLEANUP => 1);
-my $sock_path = "$tempdir/h2o.sock";
-
-my $server = spawn_h2o(<< "EOT");
-listen:
- type: unix
- port: $sock_path
-hosts:
- default:
- paths:
- /:
- file.dir: @{[ DOC_ROOT ]}
-EOT
-
-my $resp = `(echo "GET / HTTP/1.0" ; echo) | nc -U $sock_path 2>&1`;
-like $resp, qr{^HTTP/1\.[0-9]+ 200 OK\r\n}s;
-
-done_testing;