diff options
author | Eric Wong <e@80x24.org> | 2019-11-15 09:50:54 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-11-16 11:05:23 +0000 |
commit | 4a24d9537f5c73ea8b1b93a4b131926db38435d8 (patch) | |
tree | ffb7730d08f77d9b46366b02b1f8a67373c565c7 /t/watch_maildir_v2.t | |
parent | 5e76c9b79f8dd42c2ac989d8c67341637fe00553 (diff) | |
download | public-inbox-4a24d9537f5c73ea8b1b93a4b131926db38435d8.tar.gz |
This only gives a small 10% speedup or so, but anything helps.
Diffstat (limited to 't/watch_maildir_v2.t')
-rw-r--r-- | t/watch_maildir_v2.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/watch_maildir_v2.t b/t/watch_maildir_v2.t index ccc85c17..7fe23521 100644 --- a/t/watch_maildir_v2.t +++ b/t/watch_maildir_v2.t @@ -21,10 +21,10 @@ use_ok 'PublicInbox::WatchMaildir'; use_ok 'PublicInbox::Emergency'; my $cfgpfx = "publicinbox.test"; my $addr = 'test-public@example.com'; -my @cmd = ('blib/script/public-inbox-init', '-V2', 'test', $inboxdir, +my @cmd = ('-init', '-V2', 'test', $inboxdir, 'http://example.com/v2list', $addr); local $ENV{PI_CONFIG} = "$tmpdir/pi_config"; -is(system(@cmd), 0, 'public-inbox init OK'); +ok(run_script(\@cmd), 'public-inbox init OK'); my $msg = <<EOF; From: user\@example.com |