about summary refs log tree commit homepage
path: root/t/ds-kqxs.t
diff options
context:
space:
mode:
Diffstat (limited to 't/ds-kqxs.t')
-rw-r--r--t/ds-kqxs.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/ds-kqxs.t b/t/ds-kqxs.t
new file mode 100644
index 00000000..785570c3
--- /dev/null
+++ b/t/ds-kqxs.t
@@ -0,0 +1,14 @@
+# Copyright (C) 2019 all contributors <meta@public-inbox.org>
+# Licensed the same as Danga::Socket (and Perl5)
+# License: GPL-1.0+ or Artistic-1.0-Perl
+#  <https://www.gnu.org/licenses/gpl-1.0.txt>
+#  <https://dev.perl.org/licenses/artistic.html>
+use strict;
+use Test::More;
+unless (eval { require IO::KQueue }) {
+        my $m = $^O !~ /bsd/ ? 'DSKQXS is only for *BSD systems'
+                                : "no IO::KQueue, skipping $0: $@";
+        plan skip_all => $m;
+}
+local $ENV{TEST_IOPOLLER} = 'PublicInbox::DSKQXS';
+require './t/ds-poll.t';