Hi Zhangjin,
On 2023-10-07 21:42:02+0800, Zhangjin Wu wrote:
The test will not work for systems with pagesize != 4096 like aarch64 and some others.
We have used EXPECT_GE() instead of EXPECT_EQ(), so this should not fail, do I miss something ?;-)
Indeed, I missed that, sorry for the noise.
IMO we can still remove the testcase, but drop it from the fixes branch and adapt the commit message and Fixes tag.
Thanks, Zhangjin Wu
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).
Fixes: 48967b73f8fe ("selftests/nolibc: add testcases for startup code") Cc: stable@vger.kernel.org Signed-off-by: Thomas Weißschuh linux@weissschuh.net
[..]