tools/nolibc: add testcases for vfprintf
Get series with b4
b4 am [email protected] change-id 20230328-nolibc-printf-test-052d5abc2118Versions newest first
- v3 Latest4 patches 5 repliesIn review
- v23 patches 5 repliesSuperseded
- v13 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- also provide and use fflush/fclose.
- reject fileno(NULL).
- provide compatability with buffered streams from glibc.
- Link to v2: https://lore.kernel.org/r/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools/nolibc: add libc-test binarytools/ tools/ | +6 | 1 reply | |
| 2/4 | tools/nolibc: add wrapper for memfd_createtools/ | +23 | 0 replies | |
| 3/4 | tools/nolibc: implement fd-based FILE streamstools/ | +68 | 3 replies | |
| 4/4 | tools/nolibc: add testcases for vfprintftools/ | +86 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/4] tools/nolibc: add testcases for vfprintf
vfprintf() is complex and so far did not have proper tests.
This series is based on the "dev" branch of the RCU tree.
---
Changes in v3:
- also provide and use fflush/fclose.
- reject fileno(NULL).
- provide compatability with buffered streams from glibc.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Include <sys/mman.h> for tests.
- Implement FILE* in terms of integer pointers.
- Provide fdopen() and fileno().
- Link to v1: https://lore.kernel.org/lkml/[email protected]/
---
Thomas Weißschuh (4):
tools/nolibc: add libc-test binary tools/nolibc: add wrapper for memfd_create tools/nolibc: implement fd-based FILE streams tools/nolibc: add testcases for vfprintf
tools/include/nolibc/stdio.h | 95 ++++++++++++++++++++-------- tools/include/nolibc/sys.h | 23 +++++++ tools/testing/selftests/nolibc/.gitignore | 1 + tools/testing/selftests/nolibc/Makefile | 5 ++ tools/testing/selftests/nolibc/nolibc-test.c | 86 +++++++++++++++++++++++++ 5 files changed, 183 insertions(+), 27 deletions(-)
---
base-commit: a63baab5f60110f3631c98b55d59066f1c68c4f7
change-id: 20230328-nolibc-printf-test-052d5abc2118
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>