Skip to contentSkip to conversation

bash_4.3.30: fix testcase run-coproc/run-execscript/run-test/run-heredoc failed

PATCH New Hongxu Jia 1 participant 2 messages Nov 28, 2015

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover bash_4.3.30: fix testcase run-coproc/run-execscript/run-test/run-heredoc failed

The following changes since commit 03f15e51998a3ef65a5b68cb7cbf724f4388c289:

sstate: Ensure siginfo and sig files are also touched (2015-11-25 08:09:00 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-bash
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-bash

Hongxu Jia (1):
bash_4.3.30: fix testcase
run-coproc/run-execscript/run-test/run-heredoc failed

 meta/recipes-extended/bash/bash.inc                |   3 +
 ...roc-run-heredoc-run-execscript-run-test-f.patch | 169 +++++++++++++++++++++
 meta/recipes-extended/bash/bash/run-ptest          |   2 +-
 meta/recipes-extended/bash/bash_4.3.30.bb          |   1 +
 4 files changed, 174 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-extended/bash/bash/fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 bash_4.3.30: 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

---
 meta/recipes-extended/bash/bash.inc                |   3 +
 ...roc-run-heredoc-run-execscript-run-test-f.patch | 169 +++++++++++++++++++++
 meta/recipes-extended/bash/bash/run-ptest          |   2 +-
 meta/recipes-extended/bash/bash_4.3.30.bb          |   1 +
 4 files changed, 174 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-extended/bash/bash/fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch
meta/recipes-extended/bash/bash.inc +3 -0
index 020409f..85639d3 100644
@@ -23,6 +23,9 @@ RDEPENDS_${PN} += "base-files"
 RDEPENDS_${PN}_class-nativesdk = ""
 RDEPENDS_${PN}-ptest += "make"
 
+USERADD_PACKAGES = "${PN}-ptest"
+USERADD_PARAM_${PN}-ptest = "--create-home --user-group test"
+
 do_configure_prepend () {
 	if [ ! -e ${S}/acinclude.m4 ]; then
 		cat ${S}/aclocal.m4 > ${S}/acinclude.m4
meta/recipes-extended/bash/bash/fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch new file +169 -0

169 lines not on this page · raw message

meta/recipes-extended/bash/bash/run-ptest +1 -1
index e3f8133..2098fa4 100644
@@ -1,2 +1,2 @@
 #!/bin/sh
-make -k THIS_SH=/bin/bash BUILD_DIR=. srcdir=.  runtest
+make -k THIS_SH=/bin/bash BUILD_DIR=`pwd` srcdir=`pwd`  runtest
meta/recipes-extended/bash/bash_4.3.30.bb +1 -0
index 811e61c..4426cf0 100644
@@ -18,6 +18,7 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \
            file://mkbuiltins_have_stringize.patch \
            file://build-tests.patch \
            file://test-output.patch \
+           file://fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch \
            file://run-ptest \
            "
 
Signature · 1 line
1.9.1