]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sed: Specify shell for "nobody" user in run-ptest
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>
Fri, 13 May 2022 09:40:14 +0000 (17:40 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 16 May 2022 23:59:44 +0000 (13:59 -1000)
commit175001feb3b0e5b29cba94a8cdac18b429f84645
treebc103bc0529b1a6cc269440b72343e37aa0f85a7
parenteeba7fdc2878b3c1e90c0babbcaf7711a2e42fc1
sed: Specify shell for "nobody" user in run-ptest

ptest testsuite/panic-tests.sh of sed need to be run as a non-root user
so that the expected "sed: couldn't open temporary file <filename>:
Permission denied" error can be generated. After disabling default
shell for "nobody", a shell needs to be specified for running ptest.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6d7216772f76af4429fdaaca518858cf014293f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/sed/sed/run-ptest