]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
selftests/nolibc: remove outdated comment about construct order
authorBenjamin Berg <benjamin.berg@intel.com>
Thu, 31 Jul 2025 20:12:23 +0000 (22:12 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 1 Sep 2025 18:48:41 +0000 (20:48 +0200)
The constructor order is not (and should not) be tested. Remove the
comment.

Fixes: a782d45c867c ("selftests/nolibc: stop testing constructor order")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://lore.kernel.org/r/20250731201225.323254-3-benjamin@sipsolutions.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/nolibc-test.c

index d074878eb234129046e301b732eac6a267551299..29de21595fc95341c2aa975375a8d471cb3933fc 100644 (file)
@@ -686,7 +686,6 @@ int expect_strtox(int llen, void *func, const char *input, int base, intmax_t ex
 #define CASE_TEST(name) \
        case __LINE__: llen += printf("%d %s", test, #name);
 
-/* constructors validate that they are executed in definition order */
 __attribute__((constructor))
 static void constructor1(void)
 {