]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/nolibc: use a pipe to in vfprintf tests
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 21 Dec 2024 14:44:30 +0000 (15:44 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 13 Jan 2025 21:21:34 +0000 (22:21 +0100)
commit4c7f09ab79b1348c619b118a2235d88a57e79af3
tree0dcde989cf7186bb5e3bf6b29064ed27e8c5a583
parenta0bc8947ac731ff95a56e0c1737e69e8c56d5b78
selftests/nolibc: use a pipe to in vfprintf tests

Not all architectures implement lseek(), for example riscv32 only
implements llseek() which is not equivalent to normal lseek().
Remove the need for lseek() by using a pipe instead.

Link: https://lore.kernel.org/r/20241221-nolibc-rv32-v1-3-d9ef6dab7c63@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/nolibc-test.c