about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStore.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-12-31 17:47:48 -1200
committerEric Wong <e@80x24.org>2021-01-02 09:15:08 +0000
commitcc1660fd3bb16f684062d5c63ae4320d2c7f939c (patch)
treeeea53cdfad85c24eef9bea0f5e2bcbd73a47b806 /lib/PublicInbox/LeiStore.pm
parent86851a5a264bc0e14e925982b09337ab32e20795 (diff)
downloadpublic-inbox-cc1660fd3bb16f684062d5c63ae4320d2c7f939c.tar.gz
We need to use an absolute path after chdir in run modes
where scripts aren't loaded into in-memory subs.

The oneshot test was also failing under TEST_RUN_MODE=0 due to
no "lei-oneshot" command existing on the FS.  So we force a
socket failure by making XDG_RUNTIME_DIR too large to fit into
the 108-byte .sun_path field of "struct sockaddr_un".  This
even lets us simplify lei-oneshot significantly.
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
0 files changed, 0 insertions, 0 deletions