Subj : src/syncterm/scripts/load/wrentest.wren src/syncterm/scripts/runtests. To : Git commit to main/sbbs/master From : Deucе Date : Mon Apr 27 2026 16:09:26 https://gitlab.synchro.net/main/sbbs/-/commit/286eefccd049901980c65f02 Added Files: src/syncterm/scripts/load/wrentest.wren src/syncterm/scripts/runtests.wren Modified Files: src/syncterm/CMakeLists.txt GNUmakefile Log Message: SyncTERM: add Wren self-test suite (Alt+T runs against bash-PTY) Two scripts: - scripts/runtests.wren — Alt+T hotkey; imports the suite and kicks off WrenTest.run(). In-tree only: filtered out of the embed globs (GNUmakefile + CMakeLists.txt) so a stripped install doesn't try to import the suite at every connect. - scripts/load/wrentest.wren — the suite, loaded on demand by the module loader. Six inline binding sanity checks (Conn.connected, Conn.type, Screen.size, CTerm.x/y, Console.total grows on print, Hook.onMatch leading-.* rejection) plus two sentinel-driven shell roundtrips (literal echo, capture group) using a single Hook.onMatch dispatcher and a Hook.every watchdog. PTY-echo duplicates are guarded by a __pending-equals check. Co-Authored-By: Claude Opus 4.7 (1M context) --- ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net .