Skip to content

Commit ca38943

Browse files
benzeat-8ch
authored andcommitted
selftests/nolibc: remove outdated comment about construct order
The constructor order is not (and should not) be tested. Remove the comment. Fixes: a782d45 ("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>
1 parent 6d33ce3 commit ca38943

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tools/testing/selftests/nolibc/nolibc-test.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ int expect_strtox(int llen, void *func, const char *input, int base, intmax_t ex
686686
#define CASE_TEST(name) \
687687
case __LINE__: llen += printf("%d %s", test, #name);
688688

689-
/* constructors validate that they are executed in definition order */
690689
__attribute__((constructor))
691690
static void constructor1(void)
692691
{

0 commit comments

Comments
 (0)