]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/nolibc: test the memory allocator
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 4 Apr 2026 11:50:20 +0000 (13:50 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 6 Apr 2026 17:46:52 +0000 (19:46 +0200)
commite70a7bb5755997d845f641f5d46d8af4ea68fc8a
treed5ade85e52ca8491568fed0bc7e297cd7b98167c
parent1e3c374e9fd5ef0bf1ebcb866505b1aad404959e
selftests/nolibc: test the memory allocator

The memory allocator has not seen any testing so far.

Add a simple testcase for it.

Suggested-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/lkml/adDRK8D6YBZgv36H@1wt.eu/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260404-nolibc-asprintf-v2-2-17d2d0df9763@weissschuh.net
tools/testing/selftests/nolibc/nolibc-test.c