diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-10-07 12:18:55 +0200 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2023-10-12 21:14:15 +0200 |
commit | eddfc3c74214a7e6f4a3e56ad0cf5dab5d23f287 (patch) | |
tree | 339e86953ef29c5612c9a36e0df327847b5b1b1a /tools | |
parent | eaa8c9a8b4027e4f780ebd2f6d0e91812467f312 (diff) | |
download | linux-stable-eddfc3c74214a7e6f4a3e56ad0cf5dab5d23f287.tar.gz linux-stable-eddfc3c74214a7e6f4a3e56ad0cf5dab5d23f287.tar.bz2 linux-stable-eddfc3c74214a7e6f4a3e56ad0cf5dab5d23f287.zip |
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/20231007-nolibc-auxval-pagesz-v1-1-af00804edead@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/nolibc/nolibc-test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index a3ee4496bf0a..7e3936c182dc 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -630,7 +630,6 @@ int run_startup(int min, int max) CASE_TEST(environ_HOME); EXPECT_PTRNZ(1, getenv("HOME")); break; CASE_TEST(auxv_addr); EXPECT_PTRGT(test_auxv != (void *)-1, test_auxv, brk); break; CASE_TEST(auxv_AT_UID); EXPECT_EQ(1, getauxval(AT_UID), getuid()); break; - CASE_TEST(auxv_AT_PAGESZ); EXPECT_GE(1, getauxval(AT_PAGESZ), 4096); break; case __LINE__: return ret; /* must be last */ /* note: do not set any defaults so as to permit holes above */ |