]> code.ossystems Code Review - openembedded-core.git/commit
util-linux: rewrite the ptest integration
authorRoss Burton <ross@burtonini.com>
Mon, 5 Jul 2021 17:04:21 +0000 (18:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Jul 2021 10:38:57 +0000 (11:38 +0100)
commit720660b936b5523ec48a7c04712d10c88198e12c
tree9e03860312fe3abfff8b610c0a6e740c1aa3b79b
parent398b9dab8675829f3428a4f00bffcf84525e0a46
util-linux: rewrite the ptest integration

Instead of duplicating logic, we can use the run.sh that the test suite
installs.

Unless told otherwise, the util-linux test suite assumes that it is
running in a build tree and looks for binaries to run, but we're on
target so pass --use-system-commands (drops ~180 skips to tens).

Add --show-diff so that debugging can be done from the logs alone.

Remove redundant path manipulation that is now done upstream.

If PAM is disabled, delete the chfn test: it will run the chfn from
shadow which has different output, and the test will fail.

[ YOCTO #14244 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux/run-ptest
meta/recipes-core/util-linux/util-linux_2.37.bb