Re: [LTP] [PATCH 2/2 v3] containers/netns tests rewritten

2015-08-19 Thread Cyril Hrubis
Hi! +cleanup() +{ + tst_rmdir + ip link del dummy0 2/dev/null + kill -9 $NS_HANDLE 2/dev/null +} + +tst_tmpdir +NS_HANDLE=$(ns_create net mnt) +if [ $? -eq 1 ]; then + tst_resm TINFO $NS_HANDLE + tst_brkm TBROK unable to create a new network namespace +fi

Re: [LTP] [PATCH 1/2] ltp_rt_sigaction: SPARC fixes for -O0

2015-08-19 Thread Stanislav Kholmanskikh
On 08/17/2015 04:17 PM, Stanislav Kholmanskikh wrote: On 08/17/2015 03:49 PM, Jan Stancek wrote: - Original Message - From: Stanislav Kholmanskikh stanislav.kholmansk...@oracle.com To: ltp-list@lists.sourceforge.net Cc: vasily isaenko vasily.isae...@oracle.com Sent: Monday, 17

Re: [LTP] [PATCH 2/2 v3] containers/netns tests rewritten

2015-08-19 Thread Matus Marhefka
Hi, mounting sysfs in a separate (net + mnt) namespace will cause that inside that namespace in /sys/class/net/ we will see only network devices local to the separated namespace including dummy device created by the test (without mounting sysfs we would see all the devices from main namespace).

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

2015-08-19 Thread Cyril Hrubis
Hi! Both pushed, thanks. -- Cyril Hrubis chru...@suse.cz -- ___ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list

Re: [LTP] [PATCH 2/2 v3] containers/netns tests rewritten

2015-08-19 Thread Cyril Hrubis
Hi! mounting sysfs in a separate (net + mnt) namespace will cause that inside that namespace in /sys/class/net/ we will see only network devices local to the separated namespace including dummy device created by the test (without mounting sysfs we would see all the devices from main

Re: [LTP] [PATCH 00/23] Add vlan, ipvlan, gre, macvlan interfaces

2015-08-19 Thread Alexey Kodanev
Hi, On 08/11/2015 09:44 PM, Cyril Hrubis wrote: Hi! Most interfaces share the same ip command syntax and the same test scenarious can be applied to them. So rename vxlan directory to more general 'virt' directory and add those interfaces to it. Apart from the minor nitpicks this patchset

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

2015-08-19 Thread Guangwen Feng
Add new testcase to verify the flag MNT_EXPIRE of umount2(2). Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com --- runtest/ltplite| 1 + runtest/syscalls | 1 + testcases/kernel/syscalls/.gitignore | 1 +

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

2015-08-19 Thread Guangwen Feng
Add new testcase to verify the flag UMOUNT_NOFOLLOW of umount2(2). Signed-off-by: Guangwen Feng fenggw-f...@cn.fujitsu.com --- runtest/ltplite| 1 + runtest/syscalls | 1 + testcases/kernel/syscalls/.gitignore | 1 +

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

2015-08-19 Thread Guangwen Feng
Hi! On 2015/08/10 23:10, Cyril Hrubis wrote: 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

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

2015-08-19 Thread Guangwen Feng
Hi! Thanks for your review! On 2015/08/10 22:54, Cyril Hrubis wrote: 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