From: Sachin Sant <sachinp@in.ibm.com>
To: ltp-list@lists.sourceforge.net
Cc: serue@linux.vnet.ibm.com
Subject: [LTP] LTP Containers netns test failure.
Date: Wed, 10 Mar 2010 19:50:09 +0530 [thread overview]
Message-ID: <4B97AA99.7050406@in.ibm.com> (raw)
NETNS tests from containers fails to execute with following
message
Running netns tests.
--: childns.sh '/opt/ltp': No such file or directory
Looking at the code the problem could be with create_net_namespace()
within netns/common.c
If i make the following changes the first subtest works fine but then
i ran into other failures related to other sub tests.
@@ -92,7 +92,7 @@ int create_net_namespace(char *p1, char
}
/* We need to pass the child pid to the parentns.sh script */
- sprintf(par, "parentns.sh '%s' %s %" PRId32 , ltproot, p1, pid);
+ sprintf(par, "%s/testcases/bin/parentns.sh %s %" PRId32 , ltproot, p1, pid);
ret = system(par);
status = WEXITSTATUS(ret);
@@ -141,7 +141,7 @@ int child_fn(void *c1)
exit(1);
}
- sprintf(child, "childns.sh '%s'", ltproot);
+ sprintf(child, "%s/testcases/bin/childns.sh", ltproot);
As i don't know the code too much .. i am not sure how to fix it.
Any ideas ?
Thanks
-Sachin
--
---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2010-03-10 14:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-10 14:20 Sachin Sant [this message]
2010-03-11 4:15 ` [LTP] LTP Containers netns test failure Garrett Cooper
2010-03-12 5:09 ` Sachin Sant
2010-03-12 7:33 ` Garrett Cooper
2010-03-12 8:56 ` Sachin Sant
2010-03-12 16:32 ` Garrett Cooper
2010-03-15 7:03 ` Sachin Sant
2010-03-31 8:12 ` Rishikesh K Rajak
2010-03-31 8:15 ` Garrett Cooper
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=4B97AA99.7050406@in.ibm.com \
--to=sachinp@in.ibm.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=serue@linux.vnet.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox