X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Finit.t;h=752e5af93c0b60ce519cf838331494a2d5c8c472;hb=b9e7ecbbd53b97cfb9437a27e548d1df15d871b4;hp=efa3314d365b03c049a9c2939b2529992d2a6874;hpb=4c6f9a39621fdae852e0655b7db3d61f03c716c5;p=public-inbox.git diff --git a/t/init.t b/t/init.t index efa3314d..752e5af9 100644 --- a/t/init.t +++ b/t/init.t @@ -99,6 +99,9 @@ sub quiet_fail { $err = ''; ok(run_script($cmd, $env, $rdr), 'initializes non-existent hierarchy'); ok(-d "$tmpdir/a/b/c/d", 'directory created'); + is(PublicInbox::Inbox::try_cat("$tmpdir/a/b/c/d/description"), + "public inbox for abcd\@example.com\n", 'description set'); + open my $fh, '>', "$tmpdir/d" or BAIL_OUT "open: $!"; close $fh; $cmd = [ '-init', 'd-f-conflict', "$tmpdir/d/f/conflict",