38e181cbc686d59dcfd1b1b90ee0d8e5f1dd7505 |
|
25-Jul-2016 |
Cyril Hrubis <chrubis@suse.cz> |
containers,tomoyo: Fix order of included headers Since the test.h defined clone(...) macro in order to avoid direct use of the function it has to be included after all system headers, otherwise the definition of clone() function in sched.h will be replaced as well. This wasn't the case for most of the containers/*/*.c testcases which included test.h followed by foo_helper.h header that included sched.h. The code in question compiled by a pure luck as the clone function definition was replaced by a garbage which had been syntactically correct. This patch moves the test.h header after the foo_helper.h and also removes a few duplicated includes as well. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
085b5e6d9bcec367958ceaf7c7f8b47a5bca8c21 |
|
09-May-2016 |
Cyril Hrubis <chrubis@suse.cz> |
containers/netns_netlink: Fix system() error handling If ip fails the return value would be 1 not -1 and also errno is not set. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
d1e794d62b1bf619df8390535e4c2a58899b1145 |
|
30-Jul-2015 |
Cyril Hrubis <chrubis@suse.cz> |
lib: Get rid of unused tst_require_root() callback Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
d6d11d08678aac1ed2c370ea8e42e5f45aea07be |
|
09-Mar-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Introduce tst_parse_opts() The pattern that was used in all testcases is: const char *msg; msg = parse_opts(...); if (msg) tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg); This change simplifies the steps to just calling: tst_parse_opts(...); Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
9f136a48c6205362cd8d35c726491ca93cb16514 |
|
17-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
lib: Rewrite checkpoint synchronization * Rewrite checkpoint synchronization (based on futexes now) * Fix all testcases to use the new interface * Update docs Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
aabb8340f63ed31afe995fd97795e542dc68b93c |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Include usctest.h in test.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
bb0ae55785304e89e00f3e9096ae696aedf771e0 |
|
05-Dec-2014 |
Xing Gu <gux.fnst@cn.fujitsu.com> |
containers: fix exit status in netns/netns_netlink.c In iproute2 whose version is earlier than v2.6.34, ip command doesn't support tuntap object. This leads to the case (netns_netlink.c) failure with TFAIL status. It is not suitable, so fix this case' exit status with TCONF in the above condition. Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|
1a48719697065b1616facab9a820bbded07dd475 |
|
02-Oct-2014 |
Matus Marhefka <mmarhefk@redhat.com> |
containers: added netns/netns_netlink.c * Tests a netlink interface inside a new network namespace Signed-off-by: Matus Marhefka <mmarhefk@redhat.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/containers/netns/netns_netlink.c
|