diff options
author | Eric Wong <e@80x24.org> | 2021-02-10 21:50:48 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-10 21:51:08 +0000 |
commit | 7a1fe192b9f63f057a21cb60c5e0e85b2ca34d50 (patch) | |
tree | 2904facf7d5eb565155d45bcac3d68b9ae789abc /t/nntpd.t | |
parent | efae1c2f67220c18f57bd1ebdf7115abd4d6c6e0 (diff) | |
download | public-inbox-7a1fe192b9f63f057a21cb60c5e0e85b2ca34d50.tar.gz |
tests: skip properly with git <2.6
Tested with git 1.8.3.1 on CentOS 7.x `plan skip_all => ...' doesn't work after some tests have run, we have to call skip() instead.
Diffstat (limited to 't/nntpd.t')
-rw-r--r-- | t/nntpd.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,11 +13,11 @@ use Net::NNTP; use Sys::Hostname; use POSIX qw(_exit); use Digest::SHA; -use_ok 'PublicInbox::Msgmap'; # t/nntpd-v2.t wraps this for v2 my $version = $ENV{PI_TEST_VERSION} || 1; require_git('2.6') if $version == 2; +use_ok 'PublicInbox::Msgmap'; my $lsof = which('lsof'); my $fast_idle = eval { require Linux::Inotify2; 1 } // eval { require IO::KQueue; 1 }; |