about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-05-26 18:08:57 +0000
committerEric Wong <e@80x24.org>2021-05-26 19:33:30 +0000
commit1d6e1f9a6a66a42d18f109aea406237cf8571597 (patch)
tree827b7465812239e9b4070eaa7162b33cabf42584 /t
parent708b182a57373172f5523f3dc297659d58e03b58 (diff)
downloadpublic-inbox-1d6e1f9a6a66a42d18f109aea406237cf8571597.tar.gz
The cost of supporting separate code paths between oneshot and
daemon isn't worth the trouble; especially if there are more
users to support.  The test suite time nearly doubles with
oneshot, so that's hurting developer productivity.

FD passing is currently required to work efficiently with
remote HTTP(S) queries which return large messages, as seen in
commit 708b182a57373172f5523f3dc297659d58e03b58
("ipc: wq: handle >MAX_ARG_STRLEN && <EMSGSIZE case").

Additionally, upcoming support for IMAP IDLE and inotify-based
monitoring of Maildirs cannot work properly without a background
daemon.
Diffstat (limited to 't')
-rw-r--r--t/lei-daemon.t9
1 files changed, 0 insertions, 9 deletions
diff --git a/t/lei-daemon.t b/t/lei-daemon.t
index 84e2791d..a7c4b799 100644
--- a/t/lei-daemon.t
+++ b/t/lei-daemon.t
@@ -73,15 +73,6 @@ test_lei({ daemon_only => 1 }, sub {
         lei_ok('daemon-pid');
         chomp $lei_out;
         is($lei_out, $new_pid, 'PID unchanged after -0/-CHLD');
-
-        SKIP: { # socket inaccessible
-                skip "cannot test connect EPERM as root", 3 if $> == 0;
-                chmod 0000, $sock or BAIL_OUT "chmod 0000: $!";
-                lei_ok('help', \'connect fail, one-shot fallback works');
-                like($lei_err, qr/\bconnect\(/, 'connect error noted');
-                like($lei_out, qr/^usage: /, 'help output works');
-                chmod 0700, $sock or BAIL_OUT "chmod 0700: $!";
-        }
         unlink $sock or BAIL_OUT "unlink($sock) $!";
         for (0..100) {
                 kill('CHLD', $new_pid) or last;