about summary refs log tree commit homepage
path: root/t/lei-q-kw.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-07-23 10:56:10 +0000
committerEric Wong <e@80x24.org>2021-07-25 00:11:35 +0000
commitd15bd6a20a836473479d8431682ba305e2dcdfbe (patch)
tree4b4c099dbcd999d24462684adda9d755ea15f65e /t/lei-q-kw.t
parent0474105ebaa5a55bc5ed3964ee7a92de4bee4b2b (diff)
downloadpublic-inbox-d15bd6a20a836473479d8431682ba305e2dcdfbe.tar.gz
I just hit an unreproducible failure in t/lei-p2q.t and
lacked $lei_err information to diagnose it.  Hopefully
this helps track down odd failures in the future.
Diffstat (limited to 't/lei-q-kw.t')
-rw-r--r--t/lei-q-kw.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lei-q-kw.t b/t/lei-q-kw.t
index 528751b4..2e6be1f0 100644
--- a/t/lei-q-kw.t
+++ b/t/lei-q-kw.t
@@ -48,6 +48,7 @@ SKIP: {
         my $cat = popen_rd(['cat', $o]);
         ok(!lei(qw(q --import-before bogus -o), "mboxrd:$o"),
                 '--import-before fails on non-seekable output');
+        like($lei_err, qr/not seekable/, 'unseekable noted in error');
         is(do { local $/; <$cat> }, '', 'no output on FIFO');
         close $cat;
         $cat = popen_rd(['cat', $o]);