diff options
author | Eric Wong <e@80x24.org> | 2021-03-11 02:45:38 -0800 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-11 16:35:21 -0400 |
commit | 764105971054ce2352e38868fd1d3ae4e08c6784 (patch) | |
tree | 4ff90b6074f02baccfc1d7ff2d0653005e5d125d /t/v2reindex.t | |
parent | f8911d2ec389880adb5faca49f1fdf816a819561 (diff) | |
download | public-inbox-764105971054ce2352e38868fd1d3ae4e08c6784.tar.gz |
We can't pass $self and GLOBs across IPC channels transparently. I only noticed this because I'm testing the application/octet-stream fallback with https://public-inbox.org/meta/20210311014539.19756-1-e@80x24.org/ Fixes: bf8df8160076d7a1 ("searchidxshard: use PublicInbox::IPC to kill lots of code")
Diffstat (limited to 't/v2reindex.t')
-rw-r--r-- | t/v2reindex.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/v2reindex.t b/t/v2reindex.t index 05ea952f..56540c8b 100644 --- a/t/v2reindex.t +++ b/t/v2reindex.t @@ -543,4 +543,9 @@ EOF $check_rethread->('3-headed-monster once'); $check_rethread->('3-headed-monster twice'); +my $rdr = { 2 => \(my $err = '') }; +ok(run_script([qw(-index --reindex --xapian-only), $inboxdir], undef, $rdr), + '--xapian-only works'); +is($err, '', 'no errors from --xapian-only'); + done_testing(); |