]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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)
committerSteve Sakoman <steve@sakoman.com>
Fri, 13 Oct 2023 02:23:08 +0000 (16:23 -1000)
commit16075f19b49cb23ead2dec6746d2be6773ae4ae7
tree44682c91da8cd23b5b2cbe775f622da48a79b21c
parentfeb3af7fe3f1a062946de71a76c11388f9e50c90
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>
(cherry picked from commit 585bf4b780a8ad60ba2b33cede4f0092ff61ddfc)
Signed-off-by: Steve Sakoman <steve@sakoman.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