]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/replace.t
xt/mem-imapd-tls: update aliases to DSdeflate subs
[public-inbox.git] / t / replace.t
index 7135c863d3287980f2254c3f762893e4d62376f2..626cbe9b091bedcc9055c603a35fc262a4f29c81 100644 (file)
@@ -20,6 +20,7 @@ sub test_replace ($$$) {
                inboxdir => "$tmpdir/testbox",
                name => $this,
                version => $v,
+               -no_fsync => 1,
                -primary_address => 'test@example.com',
                indexlevel => $level,
        });
@@ -186,8 +187,7 @@ test_replace(2, 'basic', $opt = { %$opt, post => \&pad_msgs });
 test_replace(2, 'basic', $opt = { %$opt, rotate_bytes => 1 });
 
 SKIP: {
-       require PublicInbox::Search;
-       PublicInbox::Search::load_xapian() or skip 'Search::Xapian missing', 8;
+       require_mods(qw(Search::Xapian), 8);
        for my $l (qw(medium)) {
                test_replace(2, $l, {});
                $opt = { pre => \&pad_msgs };