• exec/tests/msgbase/get_all_msg_headers_to_ext.js

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu May 14 02:08:16 2026
    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