summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDaniel Palmer <daniel@thingy.jp>2026-01-05 11:36:29 +0900
committerThomas Weißschuh <linux@weissschuh.net>2026-01-11 12:47:47 +0100
commita5f00be9b3b07d92c6689997403851a32e1874cc (patch)
treeb75b7abd382334d881a4b44501793bdd136acd35 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent109770cc81680b802ee983b09b61c3979240fd09 (diff)
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 <daniel@thingy.jp> Link: https://patch.msgid.link/20260105023629.1502801-4-daniel@thingy.jp Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions