about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-22 00:13:31 +0000
committerEric Wong <e@80x24.org>2023-11-22 01:03:05 +0000
commitb64ce2044b0a9413855ad63ded4ddc9433e4ea9b (patch)
tree02bbaf2073b6853175a322b02cfe1f9f3acc262c /t
parentfe3883762faf67fd6c4624ee721000e1f36bc59b (diff)
downloadpublic-inbox-b64ce2044b0a9413855ad63ded4ddc9433e4ea9b.tar.gz
We only care about error checking when stdout is an mbox output
pointed to a pathname.  This is noticeable with `lei up' with
multiple non-mbox* destinations.  We'll also ensure throwing
exceptions to trigger lei->x_it from lei->do_env results in the
epoll/kqueue watch being discarded, otherwise commands may never
terminate (leading to stuck tests)
Diffstat (limited to 't')
-rw-r--r--t/lei-q-save.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lei-q-save.t b/t/lei-q-save.t
index a9f9d4d6..0970bc3c 100644
--- a/t/lei-q-save.t
+++ b/t/lei-q-save.t
@@ -305,5 +305,7 @@ EOM
         is(scalar(@new), 2, 'got new message');
         is_xdeeply([grep { $_ eq $orig[0] } @new], \@orig,
                 'original message preserved on up w/ threads');
+        lei_ok 'up', "$home/md", $d, \'multiple maildir up';
+        unlike $lei_err, qr! line \d+!s, 'no warnings';
 });
 done_testing;