]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
test_common: fixes for TEST_RUN_MODE=0
authorEric Wong <e@80x24.org>
Sun, 24 Sep 2023 20:19:17 +0000 (20:19 +0000)
committerEric Wong <e@80x24.org>
Sun, 24 Sep 2023 23:14:17 +0000 (23:14 +0000)
This fixes t/httpd-https.t when running `make check TEST_RUN_MODE=0'
to disable all code preloading and reuse.

Fixes: b914e67f82ee (test_common: start_script: set default signals)
lib/PublicInbox/TestCommon.pm

index 9ad181e2a0c417853098c7a5561d3c6a420c3503..28edee9f359a4e18c97512d63a22a8ef44dce418 100644 (file)
@@ -519,6 +519,7 @@ sub start_script {
                }
                $tail = tail_f(@paths, $opt);
        }
+       require PublicInbox::DS;
        my $oset = PublicInbox::DS::block_signals();
        require PublicInbox::OnDestroy;
        my $tmp_mask = PublicInbox::OnDestroy->new(