_  _    __    ___  __    ___  _____  _  _
 ( \( )  /__\  / __)(  )  / __)(  _  )( \( )
  )  (  /(__)\( (__  )(__( (__  )(_)(  )  (
 (_)\_)(__)(__)\___)(____)\___)(_____)(_)\_)

The History of Hacking  ·  May 31 – June 2, 2026  ·  Carolina Beach, NC

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • src/doors/syncretro/test_binds.c test_games.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Jul 24 11:06:27 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/b77dab307bc17fc5957ed79e
    Modified Files:
    src/doors/syncretro/test_binds.c test_games.c
    Log Message:
    syncretro: give test_binds/test_games their own fixture dirs

    Both tests wrote, read and removed a games.ini fixture in the
    process cwd. Neither add_test() set a WORKING_DIRECTORY, so under
    serial ctest they never collided, but ctest -j (or any future
    parallel runner) would race one test's fopen(..., "w")/remove()
    against the other's read.

    Give each test its own fixture directory instead of sharing the
    cwd: test_games.c now writes to gamesfx/games.ini, test_binds.c to bindsfx/games.ini, both created with xpdev's mkpath() so this stays
    portable to MSVC. The nonexistent-directory assertions in
    test_games.c are left untouched, since they still exercise a path
    that does not exist.

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