diff options
author | Eric Wong <e@80x24.org> | 2020-12-31 17:47:48 -1200 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-02 09:15:08 +0000 |
commit | cc1660fd3bb16f684062d5c63ae4320d2c7f939c (patch) | |
tree | eea53cdfad85c24eef9bea0f5e2bcbd73a47b806 /lib/PublicInbox/LeiStore.pm | |
parent | 86851a5a264bc0e14e925982b09337ab32e20795 (diff) | |
download | public-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