public inbox for opensbi@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add string test to SBI unit test suite
@ 2026-03-06  9:44 cp0613
  2026-03-06  9:44 ` [PATCH 1/2] lib: tests: Add test for string cp0613
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cp0613 @ 2026-03-06  9:44 UTC (permalink / raw)
  To: opensbi; +Cc: anup, guoren, Chen Pei

From: Chen Pei <cp0613@linux.alibaba.com>

The string tests were added to the SBI SBI unit test framework; then,
it was discovered that the implementation of sbi_strchr was not aligned
with the C standard behavior, which was fixed in the second patch.

Chen Pei (2):
  lib: tests: Add test for string
  lib: Fix sbi_strchr to correctly handle null terminator search

 lib/sbi/sbi_string.c            |  11 +-
 lib/sbi/tests/objects.mk        |   3 +
 lib/sbi/tests/sbi_string_test.c | 372 ++++++++++++++++++++++++++++++++
 3 files changed, 380 insertions(+), 6 deletions(-)
 create mode 100644 lib/sbi/tests/sbi_string_test.c

-- 
2.50.1


-- 
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-06 12:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06  9:44 [PATCH 0/2] Add string test to SBI unit test suite cp0613
2026-03-06  9:44 ` [PATCH 1/2] lib: tests: Add test for string cp0613
2026-03-06  9:44 ` [PATCH 2/2] lib: Fix sbi_strchr to correctly handle null terminator search cp0613
2026-04-06 12:29 ` [PATCH 0/2] Add string test to SBI unit test suite Anup Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox