]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
libc-test: Run as non-root user
authorKhem Raj <raj.khem@gmail.com>
Sat, 9 Sep 2023 01:56:02 +0000 (18:56 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2023 15:04:15 +0000 (16:04 +0100)
commit585bf4b780a8ad60ba2b33cede4f0092ff61ddfc
treeb3af6ce2638e9602bdeca54b0f1769093f7b81f9
parent5e027da9265e58df016fc3ebe45e4400f0e5c7a7
libc-test: Run as non-root user

Some of tests impose rlimit on it before running which wont be imposed
when running as root user.

Fixes
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
src/regression/pthread_atfork-errno-clobber.c:23: (pid = fork()) == -1 failed: fork succeeded despite rlimit
FAIL src/regression/pthread_atfork-errno-clobber-static.exe [status 1]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-core/musl/libc-test/run-libc-ptests [new file with mode: 0644]
meta/recipes-core/musl/libc-test/run-ptest
meta/recipes-core/musl/libc-test_git.bb