diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2015-11-28 14:53:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-12 23:42:53 +0000 |
commit | a74258671f63f0d61e494ee7aa42b8756967a60a (patch) | |
tree | ce2623c70400e481563cb6168c93e06b727054f7 /meta/recipes-extended/bash/bash.inc | |
parent | a6bb872fd3a14d2dab5058a6533a44c6ea7c7de4 (diff) | |
download | poky-a74258671f63f0d61e494ee7aa42b8756967a60a.tar.gz |
bash: fix testcase run-coproc/run-execscript/run-test/run-heredoc failed
Add user 'test' to fix the failure of 'the test suite should not
be run as root'(run-execscript and run-test)
Backport test case from git://git.sv.gnu.org/bash.git to fix run-execscript
and run-heredoc
Still failed cases:
FAIL: run-intl
FAIL: run-lastpipe
FAIL: run-trap
YOCTO: 5698
(From OE-Core rev: 1096140cb1d2532ecb38ac5fbbbe13d40fdaf6af)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r-- | meta/recipes-extended/bash/bash.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 020409fb6d..85639d3bb9 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
@@ -23,6 +23,9 @@ RDEPENDS_${PN} += "base-files" | |||
23 | RDEPENDS_${PN}_class-nativesdk = "" | 23 | RDEPENDS_${PN}_class-nativesdk = "" |
24 | RDEPENDS_${PN}-ptest += "make" | 24 | RDEPENDS_${PN}-ptest += "make" |
25 | 25 | ||
26 | USERADD_PACKAGES = "${PN}-ptest" | ||
27 | USERADD_PARAM_${PN}-ptest = "--create-home --user-group test" | ||
28 | |||
26 | do_configure_prepend () { | 29 | do_configure_prepend () { |
27 | if [ ! -e ${S}/acinclude.m4 ]; then | 30 | if [ ! -e ${S}/acinclude.m4 ]; then |
28 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | 31 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 |