about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-09-14 06:29:26 +0000
committerEric Wong <e@80x24.org>2020-09-14 21:29:56 +0000
commit23eab6127c62d0228a0cfcec78a267fe5e7011c7 (patch)
treeb0a0d8e3cfe2a279e81fd775bf85838b8c9dfd53 /t/nntpd.t
parentee8cadb3a71ab4c951642a96ba123688244de720 (diff)
downloadpublic-inbox-23eab6127c62d0228a0cfcec78a267fe5e7011c7.tar.gz
We may need to test against development versions of Xapian,
which may rely on setting `XAPIAN_COMPACT=xapian-compact-1.5'.
Ensure it's possible to do that.

And add a missing check in t/xcpdb-reshard.t, too.
Diffstat (limited to 't/nntpd.t')
-rw-r--r--t/nntpd.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index 14db1a93..c7a7ee6b 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -349,7 +349,7 @@ Date: Fri, 02 Oct 1993 00:00:00 +0000
         # -compact requires Xapian
         SKIP: {
                 require_mods('Search::Xapian', 2);
-                which('xapian-compact') or skip 'xapian-compact missing', 2;
+                have_xapian_compact or skip 'xapian-compact missing', 2;
                 is(xsys(qw(git config), "--file=$home/.public-inbox/config",
                                 "publicinbox.$group.indexlevel", 'medium'),
                         0, 'upgraded indexlevel');