• src/ssh/test/test_selftest.c

    From Deucе@VERT to Git commit to main/sbbs/master on Sat Mar 28 12:55:04 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9ec75141acbade2379627c7f
    Modified Files:
    src/ssh/test/test_selftest.c
    Log Message:
    Add test for dssh_session_set_terminate_cb()

    The setter had zero test coverage (and was previously unreachable
    due to the missing dssh_ prefix). New test verifies the callback
    fires exactly once on terminate and that the single-fire guarantee
    holds. Also adds the NULL-session guard to test_null_session_api.

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net