diff options
author | Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2022-05-13 17:40:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 10:08:06 +0100 |
commit | d7f2bec47aa12d05631cb4f1ec73760e636f9f77 (patch) | |
tree | 6e4c26dd71a1944728632191edd7dbe3915a6097 /meta/recipes-extended/sed | |
parent | c4668d6424fd4dc83897e128d4856a918d6afe07 (diff) | |
download | poky-d7f2bec47aa12d05631cb4f1ec73760e636f9f77.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: 175001feb3b0e5b29cba94a8cdac18b429f84645)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sed')
-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 @@ | |||
2 | 2 | ||
3 | chown nobody testsuite | 3 | chown nobody testsuite |
4 | chown nobody ../ptest | 4 | chown nobody ../ptest |
5 | su nobody -c "make test-suite.log" | 5 | su nobody -s /bin/sh -c "make test-suite.log" |