diff options
author | Eric Wong <e@80x24.org> | 2022-07-21 05:36:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-07-21 14:03:58 +0000 |
commit | f0b735529e3083e222f3edd6644cd927ad35bb39 (patch) | |
tree | cb37a5550cfdb9186840c6d4de566c2cb8072cbf /t | |
parent | 5f28e29a9cac8d0f61af4212895585ad930bc370 (diff) | |
download | public-inbox-f0b735529e3083e222f3edd6644cd927ad35bb39.tar.gz |
I know Linux has a stable ABI for this, and FreeBSD seems to, too (*BSDs don't have stable syscall numbers, though). I suspect this is safe enough for all *BSDs. This is stricter than the MboxLock one since we use exact byte ranges with these locks.
Diffstat (limited to 't')
-rw-r--r-- | t/pop3d.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,8 +5,9 @@ use v5.12; use PublicInbox::TestCommon; use Socket qw(IPPROTO_TCP SOL_SOCKET); # Net::POP3 is part of the standard library, but distros may split it off... -require_mods(qw(DBD::SQLite Net::POP3 IO::Socket::SSL File::FcntlLock)); +require_mods(qw(DBD::SQLite Net::POP3 IO::Socket::SSL)); require_git('2.6'); # for v2 +require_mods(qw(File::FcntlLock)) if $^O !~ /\A(?:linux|freebsd)\z/; use_ok 'IO::Socket::SSL'; use_ok 'PublicInbox::TLS'; my ($tmpdir, $for_destroy) = tmpdir(); |