diff options
author | Eric Wong <e@80x24.org> | 2023-10-17 23:38:07 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-18 20:50:37 +0000 |
commit | bd2dff9301db686ed013e4d8cf6319fe0b06e5e5 (patch) | |
tree | 9feb178bf88282fda4259c90eba8978d301a40d7 /t | |
parent | 3829004faab901fabbda922a1900842e51812ff0 (diff) | |
download | public-inbox-bd2dff9301db686ed013e4d8cf6319fe0b06e5e5.tar.gz |
It's actually valid Perl syntax, but still confusing to look at. Fixes: add90b9504f4 ("support -C (chdir) for most non-daemon commands")
Diffstat (limited to 't')
-rw-r--r-- | t/init.t | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -216,6 +216,13 @@ SKIP: { is($n, 13, 'V1 NNTP article numbers skipped via --skip-artnum'); } +{ + my $cmd = [ qw(-init -C), "$tmpdir", qw(chdirlist chdirlist), + qw(http://example.com/chdirlist chdirlist@example.com)]; + ok(run_script($cmd), '-init with -C (chdir)'); + ok(-d "$tmpdir/chdirlist", '-C processed correctly'); +} + done_testing(); sub read_indexlevel { |