[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    [LTP]  LTP] [PATCH ]: containers from LTP  stress fails
From:       "KUMAR, BHUSHAN" <bhushan.kumar () hp ! com>
Date:       2013-02-22 14:30:40
Message-ID: C4EE7EE7BE404C459168BE7FE14AF346BF484B () G2W2430 ! americas ! hpqcorp ! net
[Download RAW message or body]

Hi All,

Description of problem:

I am getting error while running  containers   from  LTP  Kernel stress test case, \
from LTP version  20120903 (ltp-full-20120903.tar) i.e. on Linux 3.2 kernel. Below \
are the outputs for error.

containers from LTP stress  fails

Containers                     FAIL       1

Below are the cause for failing above mentioned testcase:


child.sh: line 38: tst_resm: command not found
/opt/ltp/testcases/bin/child_2.sh: line 65: tst_resm: command not found
/opt/ltp/testcases/bin/child_1.sh: line 71: tst_resm: command not found
rename_net.sh: line 50: tst_resm: command not found
/opt/ltp/testcases/bin/childipv6.sh: line 72: tst_resm: command not found
parentns.sh    0  TINFO  :  Pinging ChildNS from ParentNS
Error: Can't cd
ch_ftp.sh line 40: tst_resm: command not found
Error while running the script


Suggested Code changes:

Below are the code changes:

diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh     2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh     2013-02-20 \
00:48:58.000000000 -0700 @@ -27,6 +27,7 @@ TST_COUNT=1
export TCID
export TST_COUNT
export TST_TOTAL
+export PATH=$PATH:`dirname $0`
     ping -q -c 2 $IP1 > /dev/null
     if [ $? -ne 0 ] ; then
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh    2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh    2013-02-20 \
00:27:14.000000000 -0700 @@ -28,6 +28,7 @@ TST_COUNT=1
export TCID
export TST_COUNT
export TST_TOTAL
+export PATH=$PATH:`dirname $0`
 . initialize.sh
status=0
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh    2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh    2013-02-20 \
00:28:36.000000000 -0700 @@ -28,6 +28,7 @@ TST_COUNT=1
export TCID
export TST_COUNT
export TST_TOTAL
+export PATH=$PATH:`dirname $0`
. initialize.sh
status=0
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh  2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh  2013-02-20 \
00:29:38.000000000 -0700 @@ -37,6 +37,7 @@ TST_COUNT=1
export TCID
export TST_COUNT
export TST_TOTAL
+export PATH=$PATH:`dirname $0`
.  initialize.sh
status=0
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh    2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh    2013-02-20 \
00:30:28.000000000 -0700 @@ -33,6 +33,7 @@
# The test case ID, the test case count and the total number of test case
 export TCID=${TCID:-childns.sh}
+export PATH=$PATH:`dirname $0`
. cmdlib.sh
exists awk grep ip ping sshd
. initialize.sh
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl \
                b/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl
                
--- a/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl    \
                2013-01-09 02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl    \
2013-02-20 00:34:24.000000000 -0700 @@ -36,8 +36,8 @@ my $i = 0;
my $kount = 51;
my $file="junkfile";
-my $tmpdir = "/var/ftp";
-
+#my $tmpdir = "/var/ftp";
+my $tmpdir = "/home/ftp";
my $dir;
$dir = tempdir("container_ftp.XXXXXXX", DIR => $tmpdir);
if (!defined($dir)) {
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh    2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh    2013-02-20 \
00:32:18.000000000 -0700 @@ -32,6 +32,7 @@ TST_COUNT=1
export TCID
export TST_COUNT
export TST_TOTAL
+export PATH=$PATH:`dirname $0`
     ping -q -c 2 $IP2 > /dev/null
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh \
                b/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh
--- a/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh 2013-01-09 \
                02:07:20.000000000 -0700
+++ b/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh 2013-02-20 \
00:32:59.000000000 -0700 @@ -30,6 +30,7 @@ TST_COUNT=1
export TCID
export TST_COUNT
export TST_TOTAL
+export PATH=$PATH:`dirname $0`
     # Find the free dev name
     for i in `seq 1 100`


Containers testcase is passed with mentioned above code changes.


Could you please let me know that above code changes are valid or not ? Please \
suggest me if there are any other solutions to resolve above error.

Any help would be appreciated !!!!

Thanks,
Bhushan


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">Hi All, <br>
<br>
</span><b><span style="font-size:12.0pt;font-family:&quot;Courier \
New&quot;">Description of problem:<o:p></o:p></span></b></p> <p \
class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><br> I am getting error while running&nbsp;&nbsp;</span>containers \
&nbsp;&nbsp;from &nbsp;LTP <span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"> &nbsp;Kernel stress test case,&nbsp;from LTP version&nbsp; 20120903 \
(ltp-full-20120903.tar) i.e.&nbsp;on Linux 3.2 kernel. Below are the outputs for \
error.<br> <br>
</span><b><span style="font-size:12.0pt">containers from LTP stress \
&nbsp;fails</span></b><b><span style="font-size:12.0pt;font-family:&quot;Courier \
New&quot;"><br> </span></b><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><br> Containers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
FAIL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1<br> <br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">Below are the cause for failing above mentioned \
testcase:<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
                style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br>
child.sh: line 38: tst_resm: command not found<br>
/opt/ltp/testcases/bin/child_2.sh: line 65: tst_resm: command not \
found<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">/opt/ltp/testcases/bin/child_1.sh: line 71: tst_resm: command not \
found<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">rename_net.sh: line 50: \
tst_resm: command not found<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">/opt/ltp/testcases/bin/childipv6.sh: line 72: tst_resm: command not \
found<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">parentns.sh&nbsp;&nbsp;&nbsp; 0&nbsp; TINFO&nbsp; :&nbsp; Pinging ChildNS \
from ParentNS<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Error: Can't \
cd<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">ch_ftp.sh line 40: \
tst_resm: command not found<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Error while running the \
script<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br> <br>
</span><b><span style="font-size:12.0pt">Suggested Code changes:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br> <br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><b>Below are the code \
changes:<br> </b><br>
diff -Nurp a/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh<o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh&nbsp;&nbsp;&nbsp;&nbsp; \
2013-01-09 02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh&nbsp;&nbsp;&nbsp;&nbsp; \
2013-02-20 00:48:58.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -27,6 &#43;27,7 @@ TST_COUNT=1<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ping -q -c 2 $IP1 &gt; \
/dev/null<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; if [ $? -ne 0 ] ; then<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh&nbsp;&nbsp;&nbsp; \
2013-01-09 02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh&nbsp;&nbsp;&nbsp; \
2013-02-20 00:27:14.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -28,6 &#43;28,7 @@ TST_COUNT=1<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;. \
initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">status=0<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh&nbsp;&nbsp;&nbsp; \
2013-01-09 02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh&nbsp;&nbsp;&nbsp; \
2013-02-20 00:28:36.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -28,6 &#43;28,7 @@ TST_COUNT=1<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">. \
initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">status=0<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh&nbsp; 2013-01-09 \
02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh&nbsp; 2013-02-20 \
00:29:38.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -37,6 &#43;37,7 @@ TST_COUNT=1<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">.&nbsp; \
initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">status=0<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh&nbsp;&nbsp;&nbsp; \
2013-01-09 02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh&nbsp;&nbsp;&nbsp; \
2013-02-20 00:30:28.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -33,6 &#43;33,7 @@<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"># The test case ID, the test case count and the total number of test \
case<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;export \
TCID=${TCID:-childns.sh}<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">. \
cmdlib.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">exists awk grep ip ping sshd<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">. initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl \
b/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl&nbsp;&nbsp;&nbsp; \
2013-01-09 02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl&nbsp;&nbsp;&nbsp; \
2013-02-20 00:34:24.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -36,8 &#43;36,8 @@ my $i = 0;<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">my $kount = \
51;<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">my \
$file=&quot;junkfile&quot;;<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">-my $tmpdir = &quot;/var/ftp&quot;;<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-<o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&#43;#my $tmpdir = \
&quot;/var/ftp&quot;;<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;my $tmpdir = &quot;/home/ftp&quot;;<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">my \
$dir;<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">$dir = \
tempdir(&quot;container_ftp.XXXXXXX&quot;, DIR =&gt; $tmpdir);<o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">if (!defined($dir)) \
{<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh&nbsp;&nbsp;&nbsp; \
2013-01-09 02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh&nbsp;&nbsp;&nbsp; \
2013-02-20 00:32:18.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -32,6 &#43;32,7 @@ TST_COUNT=1<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ping -q -c 2 $IP2 &gt; \
/dev/null<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">diff -Nurp \
a/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh \
b/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh<o:p></o:p></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh 2013-01-09 \
02:07:20.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;&#43;&#43; \
b/ltp-full-20130109/testcases/kernel/containers/netns/rename_net.sh 2013-02-20 \
00:32:59.000000000 -0700<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">@@ -30,6 &#43;30,7 @@ TST_COUNT=1<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&#43;export PATH=$PATH:`dirname $0`<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Find the free dev \
name<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp; \
for i in `seq 1 100`<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier \
New&quot;"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br> Containers testcase \
is passed with mentioned above code changes.<br> <br>
<br>
Could you please let me know that above code changes are valid or not ? Please \
suggest me if there are any other solutions to resolve above error.<br> <br>
Any help would be appreciated !!!!<br>
<br>
Thanks,<br>
Bhushan<br>
<br>
<o:p></o:p></span></p>
</div>
</body>
</html>


[Attachment #4 (--===============2311382393783865261==)]
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic