about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-04-28 19:37:29 +0000
committerEric Wong <e@80x24.org>2021-04-28 19:47:29 +0000
commit08b649735a94af6a5385df3b78092e5818408df1 (patch)
tree5e7c9784b25d13a7fa8a8dbec5e3397ef2ff7a69 /t
parent8e82fad7b32ab5a985a3ea4b5fbd01fd32ef0153 (diff)
downloadpublic-inbox-08b649735a94af6a5385df3b78092e5818408df1.tar.gz
This seems to fix the occasional "make check-run" failures I've
been chasing.

Some parts of our code assumes we can close($lei->{1})
and similar, which causes IO::Handle::autoflush to behave
badly when STDOUT is the "select"-ed FH of the Perl process.
Since oneshot mode is (hopefully) the uncommon case, we'll
just accept the cost of extra FDs and minimize differences
between lei in oneshot vs daemon mode.
Diffstat (limited to 't')
-rw-r--r--t/lei.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lei.t b/t/lei.t
index 6d276050..8211c01d 100644
--- a/t/lei.t
+++ b/t/lei.t
@@ -154,6 +154,7 @@ my $test_fail = sub {
                 }
         }
         lei_ok('sucks', \'yes, but hopefully less every day');
+        like($lei_out, qr/loaded features/, 'loaded features shown');
 SKIP: {
         skip 'no curl', 3 unless which('curl');
         lei(qw(q --only http://127.0.0.1:99999/bogus/ t:m));