]> code.ossystems Code Review - openembedded-core.git/commit
ltp: fix hanging issue for gdb01 case
authorYi Zhao <yi.zhao@windriver.com>
Thu, 21 Sep 2017 07:54:58 +0000 (15:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Sep 2017 16:14:43 +0000 (17:14 +0100)
commitb38a44e3ca30a8fe83bdccb4ee2b7748b3f7f223
tree459520b1153f8ec642714acd7a7aee2df1216815
parentb4a7f3ac030c875ac954eb50d1a6ec460bcefe6f
ltp: fix hanging issue for gdb01 case

If gdb01 testcase runs as background process, gdb can receive SIGTTOU
and then the case gets stuck. Replace stdin with /dev/null to fix this
issue. The patch is backported from upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/ltp/ltp/0038-commands-gdb01-replace-stdin-with-dev-null.patch [new file with mode: 0644]
meta/recipes-extended/ltp/ltp_20170516.bb