diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2017-09-21 15:54:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-22 17:15:30 +0100 |
commit | f5a260f01ede40e1ddc44aac6fdc5bbe7ec1653a (patch) | |
tree | 831e04c1ee8ffc75662eaec5f54e52d58066eb17 /meta/recipes-extended/ltp/ltp_20170516.bb | |
parent | ab93338177af644cbaa5594fd3e0daa67398c729 (diff) | |
download | poky-f5a260f01ede40e1ddc44aac6fdc5bbe7ec1653a.tar.gz |
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.
(From OE-Core rev: b38a44e3ca30a8fe83bdccb4ee2b7748b3f7f223)
Signed-off-by: Yi Zhao <yi.zhao@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/ltp/ltp_20170516.bb')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20170516.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20170516.bb b/meta/recipes-extended/ltp/ltp_20170516.bb index 1d0cc1af3a..653cbfd4ed 100644 --- a/meta/recipes-extended/ltp/ltp_20170516.bb +++ b/meta/recipes-extended/ltp/ltp_20170516.bb | |||
@@ -49,6 +49,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ | |||
49 | file://0035-fix-test_proc_kill-hang.patch \ | 49 | file://0035-fix-test_proc_kill-hang.patch \ |
50 | file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ | 50 | file://0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch \ |
51 | file://0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch \ | 51 | file://0037-ltp-fix-PAGE_SIZE-redefinition-and-O_CREAT-undeclear.patch \ |
52 | file://0038-commands-gdb01-replace-stdin-with-dev-null.patch \ | ||
52 | " | 53 | " |
53 | 54 | ||
54 | S = "${WORKDIR}/git" | 55 | S = "${WORKDIR}/git" |