BBS:      TELESC.NET.BR
Assunto:  src/ssh/test/test_selftest.c
De:       Deuc¨
Data:     Sat, 28 Mar 2026 12:55:04 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]