Page MenuHomeFreeBSD

libc: Add unit tests for N2630 and possible collateral damage.
ClosedPublic

Authored by des on Aug 19 2023, 11:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 12:06 AM
Unknown Object (File)
Fri, Jan 17, 8:23 PM
Unknown Object (File)
Fri, Jan 17, 6:47 PM
Unknown Object (File)
Dec 12 2024, 1:04 AM
Unknown Object (File)
Dec 8 2024, 8:28 PM
Unknown Object (File)
Dec 2 2024, 8:00 AM
Unknown Object (File)
Nov 20 2024, 9:57 AM
Unknown Object (File)
Nov 20 2024, 9:56 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53213
Build 50104: arc lint + arc unit

Event Timeline

des requested review of this revision.Aug 19 2023, 11:47 PM

Only issue I see, and it might not even be an issue, is assuming sizeof(int) == 4.

lib/libc/tests/stdio/snprintf_test.c
47

these assume 32-bit int. Is that sane wrt CHERI?

This revision is now accepted and ready to land.Aug 21 2023, 5:17 PM

Tests lgtm, will leave it to @ngie to comment on the netbsd-tests changes/approach.

This revision now requires review to proceed.Aug 21 2023, 9:23 PM

Fully test sscanf() and swscanf() changes.

These look good to me, though I did not verify the tables were right

This revision is now accepted and ready to land.Aug 28 2023, 3:28 PM