summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>2022-04-30 10:48:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-30 22:00:20 +0100
commitfc80c5ee16dfa2bfe05da088d7a690af9eb62dcf (patch)
tree1b15e7930fea6360f2e240065695ed5447025d19 /meta/recipes-extended
parent2af5b0a58e3b89b62bee6c6bcde70471e4ab9006 (diff)
downloadpoky-fc80c5ee16dfa2bfe05da088d7a690af9eb62dcf.tar.gz
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. (From OE-Core rev: c6d7216772f76af4429fdaaca518858cf014293f) Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/sed/sed/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sed/sed/run-ptest b/meta/recipes-extended/sed/sed/run-ptest
index 993d7d5d75..0460c7961f 100644
--- a/meta/recipes-extended/sed/sed/run-ptest
+++ b/meta/recipes-extended/sed/sed/run-ptest
@@ -2,4 +2,4 @@
2 2
3chown nobody testsuite 3chown nobody testsuite
4chown nobody ../ptest 4chown nobody ../ptest
5su nobody -c "make test-suite.log" 5su nobody -s /bin/sh -c "make test-suite.log"