X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Findexlevels-mirror.t;h=ac85643d0423e82bcd7488fc1989f5f312960bc5;hp=e606e79b183e8a96ac64555c3cfe1b9d6778723e;hb=3eec2f7792040f75f3988c520f308e2445baf645;hpb=798bd392d273735a69f0b009e70d8bb2dbc4a7e4 diff --git a/t/indexlevels-mirror.t b/t/indexlevels-mirror.t index e606e79b..ac85643d 100644 --- a/t/indexlevels-mirror.t +++ b/t/indexlevels-mirror.t @@ -1,5 +1,5 @@ #!perl -w -# Copyright (C) 2019-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ use strict; use v5.10.1; @@ -34,7 +34,7 @@ my $import_index_incremental = sub { local $ENV{PI_CONFIG} = "$tmpdir/config"; # index master (required for v1) - my @cmd = (qw(-index -j0), $ibx->{inboxdir}, "-L$level"); + my @cmd = (qw(-index -j0 --dangerous), $ibx->{inboxdir}, "-L$level"); push @cmd, '-c' if have_xapian_compact; ok(run_script(\@cmd, undef, { 2 => \$err }), 'index master'); my $ro_master = PublicInbox::Inbox->new({