lotherk
f07128cf9b
tests: deterministic fuzz over the parsers that read foreign text
...
The markdown renderer, its chunk cursor, the SSE reader and the JSON parser
all consume text from a model or a provider. test_fuzz drives 4000 inputs from
a fixed seed through all four and checks the two properties a plain crash test
would miss: the renderer is deterministic, and the cursor always finishes (a
piece that does not advance would loop forever in the Telegram sender).
Red proof: with sp_tgmd_next() forced to return without advancing, the test
fails on "piece.len > 0"; with the real code it passes.
make check: all tests passed (test_fuzz included).
make check-asan: all 40 test binaries clean.
2026-11-19 07:15:30 +00:00
..
2026-11-19 00:05:05 +00:00
2026-11-18 23:16:26 +00:00
2026-11-18 23:03:09 +00:00
2026-11-13 19:35:41 +00:00
2026-11-16 14:06:54 +00:00
2026-11-17 12:31:58 +00:00
2026-11-10 06:04:58 +00:00
2026-11-11 22:12:26 +00:00
2026-11-12 03:30:32 +00:00
2026-11-17 23:21:56 +00:00
2026-11-10 08:49:27 +00:00
2026-11-19 00:05:05 +00:00
2026-11-16 14:06:54 +00:00
2026-11-10 06:04:58 +00:00
2026-11-10 08:56:23 +00:00
2026-11-18 23:03:09 +00:00
2026-11-16 17:48:22 +00:00
2026-11-18 23:03:09 +00:00
2026-11-10 08:07:24 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 06:48:01 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 23:16:26 +00:00
2026-11-13 19:35:41 +00:00
2026-11-08 20:19:01 +00:00
2026-11-16 09:06:51 +00:00
2026-11-11 10:25:49 +00:00
2026-11-07 08:06:34 +00:00
2026-11-08 20:19:01 +00:00
2026-11-18 23:16:26 +00:00
2026-11-19 06:34:38 +00:00
2026-11-18 23:16:26 +00:00
2026-11-13 21:21:55 +00:00
2026-11-18 23:03:09 +00:00
2026-11-11 17:13:20 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 23:03:09 +00:00
2026-11-17 19:13:59 +00:00
2026-11-19 07:15:30 +00:00
2026-11-16 14:06:54 +00:00
2026-11-18 12:38:29 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 06:48:01 +00:00
2026-11-12 03:22:49 +00:00
2026-11-17 19:13:59 +00:00
2026-11-17 10:10:47 +00:00
2026-11-18 23:03:09 +00:00
2026-11-08 20:50:33 +00:00
2026-11-11 22:12:26 +00:00
2026-11-18 23:16:26 +00:00
2026-11-18 12:22:52 +00:00
2026-11-09 22:46:25 +00:00
2026-11-18 23:03:09 +00:00
2026-11-10 08:56:23 +00:00
2026-11-13 20:52:46 +00:00
2026-11-11 22:12:26 +00:00
2026-11-18 12:22:52 +00:00
2026-11-16 16:27:03 +00:00
2026-11-09 22:46:25 +00:00
2026-11-18 06:48:01 +00:00
2026-11-18 23:16:26 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 23:03:09 +00:00
2026-11-08 13:44:32 +00:00
2026-11-18 23:03:09 +00:00
2026-11-18 23:03:09 +00:00
2026-11-08 13:00:47 +00:00
2026-11-18 23:03:09 +00:00
2026-11-17 10:10:47 +00:00
2026-11-07 08:06:34 +00:00
2026-11-07 13:34:26 +00:00
2026-11-18 12:22:52 +00:00
2026-11-16 17:48:22 +00:00