Containers : testcase is preventing runfiv.sh from proceeding. Hangs at >> two_children_ns and >> par_chld_ipv6
The function crtchild() in two_children_ns.c and par_chld_ipv6.c is called with only one parameter while the definition has two parameters: crtchild (char *, char *) Signed-off-by: Tejaswini <[email protected]> The patches below fix the issue: ---- --- ltp-full-20130109/testcases/kernel/containers/netns/par_chld_ipv6.c.orig 2013-06-19 16:05:55.866360812 +0530 +++ ltp-full-20130109/testcases/kernel/containers/netns/par_chld_ipv6.c 2013-06-19 16:06:31.975150188 +0530 @@ -45,7 +45,7 @@ #include "test.h" #include "config.h" -extern int crtchild(char *); +extern int crtchild(char *, char *); char *TCID = "netns_ipv6"; int TST_TOTAL = 1; @@ -95,7 +95,7 @@ int main() #else tst_resm(TCONF, "System doesn't have unshare support"); #endif - return crtchild(child); + return crtchild(child,par); } else { //parent --- ltp-full-20130109/testcases/kernel/containers/netns/two_children_ns.c.orig 2013-06-19 16:04:54.436982114 +0530 +++ ltp-full-20130109/testcases/kernel/containers/netns/two_children_ns.c 2013-06-19 16:05:22.427611441 +0530 @@ -47,7 +47,7 @@ #include "libclone.h" #include "config.h" -extern int crtchild(char *); +extern int crtchild(char *, char *); char *TCID = "netns_2children"; int TST_TOTAL = 1; @@ -109,7 +109,7 @@ int main() return ret; } #endif - return crtchild(child[i]); + return crtchild(child[i], par[i]); } else { //Parent ---- Thanks, Tejaswini ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
