https://gitlab.synchro.net/main/sbbs/-/commit/afb2714094b2bb3eb0f5fc27
Modified Files:
exec/tests/msgbase/get_all_msg_headers_to_ext.js
Log Message:
tests/msgbase: mkpath(system.temp_dir) for fresh-install / CI runners
The get_all_msg_headers_to_ext.js test failed in CI with:
smb_open_fp 2 'No such file or directory' opening .../temp/test_..._N.shd
system.temp_dir is configured but its filesystem path doesn't necessarily
exist yet on a freshly-cloned tree (e.g. a GitLab runner workspace), and smb_open / smb_open_fp uses O_CREAT for the file but does not mkdir the
parent. Call mkpath(system.temp_dir) before constructing the MsgBase so
the test is self-sufficient.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net