Files
linux/tools/testing/selftests/nolibc
Daniel Palmer a5f00be9b3 tools/nolibc: Add a simple test for writing to a FILE and reading it back
Add a test that exercises create->write->seek->read to check that using the
stream functions (fwrite() etc) is not totally broken.

The only edge cases this is testing for are:
- Reading the file after writing but without rewinding reads nothing.
- Trying to read more items than the file contains returns the count of
  fully read items.

Signed-off-by: Daniel Palmer <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>
2026-01-11 12:47:47 +01:00
..