summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2019-06-16 11:48:16 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-18 11:23:48 +0100
commit8478801d4933f8e07fba39f9e1494710aa785679 (patch)
treec6d24f617d0d15682a4fba74a389862910816dc1 /meta/recipes-extended/bash
parentfa239aa7c1cf44f9a157cd47f4a355b596b00388 (diff)
downloadpoky-8478801d4933f8e07fba39f9e1494710aa785679.tar.gz
ptest-runner: enable child procs as session leader
When running the run-execscript bash ptest as a user rather than root, a warning: bash: cannot set terminal process group (16036): Inappropriate ioctl for device bash: no job control in this shell contaminates the bash log files causing the test to fail. This happens only when run under ptest-runner and not when interactively testing! The changes made to fix this include: 1. Get the process group id (pgid) before forking, 2. Set the pgid in both the parent and child to avoid a race, 3. Find, open and set permission on the child tty, and 4. Allow the child to attach to controlling tty. (From OE-Core rev: 83795a83505a311058130c662ff3342b0e39e67f) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash')
0 files changed, 0 insertions, 0 deletions