Files
poky/meta/recipes-support
Randy MacLeod 8478801d49 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>
2019-06-18 11:23:48 +01:00
..
2019-01-03 12:35:54 +00:00
2019-04-12 14:05:37 +01:00
2019-03-29 08:28:53 +00:00
2018-11-23 23:35:18 +00:00
2019-04-23 23:30:19 +01:00
2019-05-12 17:55:11 +01:00
2019-02-20 11:30:35 +00:00
2018-09-10 12:13:06 +01:00
2019-04-23 23:30:20 +01:00
2019-01-11 10:39:09 +00:00
2019-04-23 23:30:19 +01:00
2018-12-05 12:37:02 +00:00
2018-03-09 09:17:02 -08:00
2019-01-18 16:24:39 +00:00
2018-03-09 09:17:02 -08:00
2018-03-04 11:35:40 +00:00
2018-02-06 11:06:29 +00:00
2019-06-02 10:23:49 +01:00
2019-06-04 09:09:42 +01:00
2019-02-02 11:05:59 +00:00
2019-05-22 07:24:52 +01:00
2017-12-10 22:45:18 +00:00
2019-02-19 16:14:57 +00:00
2019-02-07 10:01:07 +00:00
2019-04-30 12:05:23 +01:00
2018-08-08 10:51:59 +01:00
2019-03-11 05:36:37 -07:00
2019-05-22 07:24:52 +01:00
2019-05-29 12:54:12 +01:00
2019-06-14 22:48:22 +01:00
2018-08-16 22:40:28 +01:00
2019-06-14 22:48:22 +01:00
2019-05-08 23:00:32 +01:00
2019-06-06 00:40:07 +01:00