From 4c4466e455fd6940700125f8c21b326564915913 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 6 Oct 2023 09:46:04 +0000 Subject: finalize DragonFlyBSD support require_bsd and require_mods(':fcntl_lock') are now supported in TestCommon to make it easier to maintain than a big list of regexps. getsockopt for SO_ACCEPTFILTER seems to always succeed, even if the retrieved struct is all zeroes. --- xt/pop3d-mpop.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xt') diff --git a/xt/pop3d-mpop.t b/xt/pop3d-mpop.t index 9da1050c..ff8bb5dc 100644 --- a/xt/pop3d-mpop.t +++ b/xt/pop3d-mpop.t @@ -12,9 +12,8 @@ my $inboxdir = $ENV{GIANT_INBOX_DIR}; plan skip_all => "bad characters in $inboxdir" if $inboxdir =~ m![^\w\.\-/]!; my $uuidgen = require_cmd('uuidgen'); my $mpop = require_cmd('mpop'); -require_mods(qw(DBD::SQLite)); -require_git('2.6'); # for v2 -require_mods(qw(File::FcntlLock)) if $^O !~ /\A(?:linux|freebsd)\z/; +require_mods(qw(DBD::SQLite :fcntl_lock)); +require_git(v2.6); # for v2 my ($tmpdir, $for_destroy) = tmpdir(); my $cfg = "$tmpdir/cfg"; -- cgit v1.2.3-24-ge0c7