Re: [LTP] [PATCH v3 2/2] umount2/umount2_03.c: add UMOUNT_NOFOLLOW flag test

2015-08-10 Thread Cyril Hrubis
Hi! +/* + * Copyright (c) 2015 Fujitsu Ltd. + * Author: Guangwen Feng fenggw-f...@cn.fujitsu.com + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of version 2 of the GNU General Public License as + * published by the Free Software

Re: [LTP] [PATCH v3 1/2] umount2/umount2_02.c: add MNT_EXPIRE flag test

2015-08-10 Thread Cyril Hrubis
Hi! +/* + * Copyright (c) 2015 Fujitsu Ltd. + * Author: Guangwen Feng fenggw-f...@cn.fujitsu.com + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of version 2 of the GNU General Public License as + * published by the Free Software

[LTP] Lachesis Linux tests

2015-08-10 Thread $rik@nth
Hi Group, Does the Lachesis is part of LTP? or Its a standalone linux test framework available in opensource. TIA. -- Thanks Regards, M.Srikanth Kumar. -- ___ Ltp-list

Re: [LTP] [PATCH] Add tst_wait_record_childstatus function.

2015-08-10 Thread Yuan Sun
Hi Cyril, Yes. You are right. I agree with you. tst_record_childstatus(NULL, -1); can be used in userns01. Thank you. Yuan On 2015/8/10 20:28, Cyril Hrubis wrote: Hi! Signed-off-by: Yuan Sun sunyu...@huawei.com --- doc/test-writing-guidelines.txt | 7 +++---

[LTP] [PATCH] Use tst_record_childstatus function in userns01.

2015-08-10 Thread Yuan Sun
Signed-off-by: Yuan Sun sunyu...@huawei.com --- testcases/kernel/containers/userns/userns01.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/testcases/kernel/containers/userns/userns01.c b/testcases/kernel/containers/userns/userns01.c index ad5c52d..3c55f8a

Re: [LTP] [PATCHv2] network/stress/ns-tools: make PING_MAX times adjustable

2015-08-10 Thread Hangbin Liu
2015-08-04 20:43 GMT+08:00 Alexey Kodanev alexey.koda...@oracle.com: Hi, On 08/03/2015 05:59 PM, Cyril Hrubis wrote: Hi! Some switches need a while to learn the new assigned address, which make the connectivity check failed. Make PING_MAX adjustable to let user can pre-define it based on

[LTP] Test Patch for diotest6

2015-08-10 Thread Sandy Sun
Hi All, How are you! I found pointer issue in diotest6. It wrongly use iov1/iov2 as pointer to buf when read/write from fd_r/w. It should be iov1[j].iov_base. And this patch adds loop to read/write nvector times. Attachment is the patch. Have a nice weekend! BRs, Sandy

Re: [LTP] [PATCH] Add tst_wait_record_childstatus function.

2015-08-10 Thread Cyril Hrubis
Hi! Signed-off-by: Yuan Sun sunyu...@huawei.com --- doc/test-writing-guidelines.txt | 7 +++--- include/test.h| 2 ++ lib/tst_res.c | 31 +++

[LTP] [PATCH v2] inotify: Add test for inotify mark destruction race

2015-08-10 Thread Jan Kara
Kernels prior to 4.2 have a race when inode is being deleted while inotify group watching that inode is being torn down. When the race is hit, the kernel crashes or loops. Test for that race. The problem has been fixed by commit 8f2f3eb59dff fsnotify: fix oops in