Files
freebsd/lib
Joao Bonifacio 642b3d965e sbuf(3): increase test coverage
This change adds additional explicit test coverage for the following
sbuf(3) APIs:
- sbuf_clear_flags
- sbuf_get_flags
- sbuf_set_flags

While here, add a missing `sbuf_delete` to `sbuf_drain_ret0_test`: while
it isn't strictly required (the library's state is cleaned up shortly
after the test process ends), tools such as Coverity and LSAN flag
issues with leaked memory. Adding the sbuf_delete(3) call to the test
quells that issue.

MFC after:	1 week
Reviewed-by:	ngie
Pull-Request:	https://github.com/freebsd/freebsd-src/pull/2367
2026-10-18 11:10:33 -07:00
..
2026-09-22 08:23:32 -07:00
2026-01-13 10:19:04 -05:00
2026-09-01 15:28:28 +00:00
2026-01-06 12:56:50 -05:00
2026-09-13 18:09:38 -07:00
2026-09-01 14:49:24 +02:00
2025-10-03 19:46:55 +02:00
2026-03-15 00:41:29 -03:00
2025-11-24 10:47:10 -05:00
2025-08-08 13:27:26 -05:00
2026-10-18 11:10:33 -07:00
2026-09-16 14:22:09 +00:00
2025-09-30 09:14:05 +01:00
2026-01-06 04:26:53 +00:00
2026-03-13 23:49:53 +00:00
2026-04-08 14:22:45 -07:00
2026-01-15 07:28:28 +01:00
2026-09-15 10:22:38 -04:00