diff options
author | Tudor Florea <tudor.florea@enea.com> | 2016-04-13 02:48:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2016-04-13 10:07:49 +0200 |
commit | d6a7f248063239c3b45e3ec139e7a8dd32b53b90 (patch) | |
tree | 5e21bad0c6a03669da8eb210af51611a1c581ded /recipes-extended/ltp/ltp/fix-test_proc_kill-hang.patch | |
parent | 88a73cdc79d09dc66a7767c102770258d08ac043 (diff) | |
download | meta-nfv-access-common-d6a7f248063239c3b45e3ec139e7a8dd32b53b90.tar.gz |
ltp: remove patches integrated in poky
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-extended/ltp/ltp/fix-test_proc_kill-hang.patch')
-rw-r--r-- | recipes-extended/ltp/ltp/fix-test_proc_kill-hang.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/recipes-extended/ltp/ltp/fix-test_proc_kill-hang.patch b/recipes-extended/ltp/ltp/fix-test_proc_kill-hang.patch deleted file mode 100644 index 8fb11af..0000000 --- a/recipes-extended/ltp/ltp/fix-test_proc_kill-hang.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Fix test_proc_kill hanging | ||
2 | |||
3 | Sometimes the signal is delivered to memcg_process before the framework took | ||
4 | into consideration its pid entered in the tasks. Fixed by delaying the signal | ||
5 | send command. | ||
6 | |||
7 | Signed-off-by: George Nita <george.nita@enea.com> | ||
8 | Upstream-Status: Not Submitted | ||
9 | |||
10 | diff --git a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh | ||
11 | index ffbe006..e81bf74 100755 | ||
12 | --- a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh | ||
13 | +++ b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh | ||
14 | @@ -220,8 +220,8 @@ test_proc_kill() | ||
15 | |||
16 | $TEST_PATH/memcg_process $2 -s $3 & | ||
17 | pid=$! | ||
18 | - sleep 1 | ||
19 | echo $pid > tasks | ||
20 | + sleep 1 | ||
21 | |||
22 | kill -s USR1 $pid 2> /dev/null | ||
23 | sleep 1 | ||