• exec/tests/ircd/lib.sjs

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sat Aug 1 02:05:42 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e062c5e67388c71e225faf58
    Modified Files:
    exec/tests/ircd/lib.sjs
    Log Message:
    ircd tests: bind the test IRCd to the loopback address only

    Every test in exec/tests/ircd failed on Linux with "port not ready
    after 5s". lib.sjs started the IRCd without -a, so Startup() fell back
    to its ["0.0.0.0", "::"] default and tried to bind both. Where net.ipv6.bindv6only is 0 -- the default on Linux -- the "::" socket is dual-stack and collides with the 0.0.0.0 one already bound, so the
    second bind failed with EADDRINUSE and no listener came up at all:

    !ERROR 98 binding IRCd socket: Address already in use
    !Error Error: Unable to add host to socket set

    Pass -a with the address the tests actually connect to. They only ever
    talk to IRCD_TEST_HOST, so binding the wildcards was never needed.

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

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