]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/indexlevels-mirror: fix improperly skipped test
authorEric Wong <e@80x24.org>
Wed, 16 Sep 2020 22:17:08 +0000 (22:17 +0000)
committerEric Wong <e@80x24.org>
Sat, 26 Dec 2020 19:28:40 +0000 (19:28 +0000)
Oops :x
(cherry picked from commit a7cd8c6a2bfa1ebfe2edeb0d7a93de17fd334683)

t/indexlevels-mirror.t

index b12bd3cb2b177276cb01397ad660cf10dc9f571e..656a9a34e6405971ba12ed516842e784ee7cb3ac 100644 (file)
@@ -162,7 +162,7 @@ my $import_index_incremental = sub {
           'indexlevel detectable by Admin '.$v.$level);
 
        SKIP: {
-               skip 'xapian-compact missing', 1 if have_xapian_compact;
+               skip 'xapian-compact missing', 1 if !have_xapian_compact;
                my $cmd = [ qw(-compact), $mirror ];
                ok(run_script($cmd, undef, { 2 => \$err}), "compact $level");
        }