Skip to content

Commit eddfc3c

Browse files
committed
tools/nolibc: drop test for getauxval(AT_PAGESZ)
Other testcases are already testing the same functionality: * auxv_AT_UID tests getauxval() in general. * test_getpagesize() tests pagesize() which directly calls getauxval(AT_PAGESZ). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]>
1 parent eaa8c9a commit eddfc3c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,6 @@ int run_startup(int min, int max)
630630
CASE_TEST(environ_HOME); EXPECT_PTRNZ(1, getenv("HOME")); break;
631631
CASE_TEST(auxv_addr); EXPECT_PTRGT(test_auxv != (void *)-1, test_auxv, brk); break;
632632
CASE_TEST(auxv_AT_UID); EXPECT_EQ(1, getauxval(AT_UID), getuid()); break;
633-
CASE_TEST(auxv_AT_PAGESZ); EXPECT_GE(1, getauxval(AT_PAGESZ), 4096); break;
634633
case __LINE__:
635634
return ret; /* must be last */
636635
/* note: do not set any defaults so as to permit holes above */

0 commit comments

Comments
 (0)