All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejaswini <tejaswin@linux.vnet.ibm.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] Containers test case is hanging at two sub test cases
Date: Wed, 24 Jul 2013 14:58:49 +0530	[thread overview]
Message-ID: <51EF9E51.1070208@linux.vnet.ibm.com> (raw)

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 <tejaswin@linux.vnet.ibm.com>

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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2013-07-24  9:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  9:28 Tejaswini [this message]
2013-08-01 17:41 ` [LTP] [PATCH] Containers test case is hanging at two sub test cases chrubis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51EF9E51.1070208@linux.vnet.ibm.com \
    --to=tejaswin@linux.vnet.ibm.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.