BBS: TELESC.NET.BR Assunto: src/ssh/test/dssh_test_alloc.c mock_alloc.c test_alloc.c De: Deuc¨ Data: Tue, 24 Mar 2026 20:58:43 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/244392ed6fb6f98a199d07e6 Modified Files: src/ssh/test/dssh_test_alloc.c mock_alloc.c test_alloc.c Log Message: Use explicit atomic operations in all test allocator counters dssh_test_alloc.c: replace implicit atomic_int operations with explicit atomic_store/atomic_load/atomic_fetch_add. Extract shared should_fail() helper matching the ossl pattern. mock_alloc.c: convert plain int counters to atomic_int with explicit operations. The process-wide --wrap allocator is shared between server and client threads in some tests. test_alloc.c: fix session_init iterate to return TEST_FAIL with descriptive message when hard limit is exhausted (was silently returning TEST_PASS). Co-Authored-By: Claude Opus 4.6 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]