]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cpio: Run ptests under ptest user
authorKhem Raj <raj.khem@gmail.com>
Thu, 4 May 2023 23:28:15 +0000 (16:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 May 2023 06:47:53 +0000 (07:47 +0100)
commit587e007d9febfe92fef434dea984d31642bb23a1
treed500740cee2ecc93084b13d80a4751f81e8b2302
parenta3de74f00812fa342d4dc69a857994fa10728635
cpio: Run ptests under ptest user

Running these tests under root user on musl works ok but it emits
additional diagnostic

cpio: dir: Cannot change ownership to uid 0, gid 0: Not supported

Ideally its better to run this test suite under non-root user which
is often how these are run. Moreover, tests work on musl as well.

(From OE-Core rev: 22d19266269c28f596f031fcba8f2831c6465880)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-extended/cpio/cpio-2.13/run-ptest [changed mode: 0644->0755]
meta/recipes-extended/cpio/cpio-2.13/test.sh [new file with mode: 0644]
meta/recipes-extended/cpio/cpio_2.13.bb