diff options
author | Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2022-04-30 10:48:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-30 21:59:32 +0100 |
commit | c6d7216772f76af4429fdaaca518858cf014293f (patch) | |
tree | c44ee09928880c653d047b2ccaee0c0b32f32b3d /meta/recipes-extended | |
parent | 029821d0053059b967a1b5c66fd96e69ac747bac (diff) | |
download | openembedded-core-contrib-c6d7216772f76af4429fdaaca518858cf014293f.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.
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-ptest | 2 |
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 @@ chown nobody testsuite chown nobody ../ptest -su nobody -c "make test-suite.log" +su nobody -s /bin/sh -c "make test-suite.log" |