diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch b/meta/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch deleted file mode 100644 index 0e7264574f..0000000000 --- a/meta/recipes-extended/ltp/ltp/0007-Fix-test_proc_kill-hanging.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From f4fafbdffae3a63c81f65cef98c72dda26283e06 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dengke Du <dengke.du@windriver.com> | ||
3 | Date: Wed, 8 Feb 2017 16:17:17 +0800 | ||
4 | Subject: [PATCH] Fix test_proc_kill hanging | ||
5 | |||
6 | Sometimes the signal is delivered to memcg_process before the framework took | ||
7 | into consideration its pid entered in the tasks. Fixed by delaying the signal | ||
8 | send command. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: George Nita <george.nita@enea.com> | ||
13 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
14 | --- | ||
15 | testcases/kernel/controllers/memcg/functional/memcg_lib.sh | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh | ||
19 | index aadaae4..deea5d6 100755 | ||
20 | --- a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh | ||
21 | +++ b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh | ||
22 | @@ -291,6 +291,7 @@ test_proc_kill() | ||
23 | pid=$! | ||
24 | TST_CHECKPOINT_WAIT 0 | ||
25 | echo $pid > tasks | ||
26 | + sleep 1 | ||
27 | |||
28 | signal_memcg_process $pid $3 | ||
29 | |||
30 | -- | ||
31 | 2.7.4 | ||
32 | |||