[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:"Courier \
New"">Hi All, <br>
<br>
</span><b><span style="font-size:12.0pt;font-family:"Courier \
New"">Description of problem:<o:p></o:p></span></b></p> <p \
class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier \
New""><br> I am getting error while running </span>containers \
from LTP <span style="font-size:10.0pt;font-family:"Courier \
New""> 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.<br> <br>
</span><b><span style="font-size:12.0pt">containers from LTP stress \
fails</span></b><b><span style="font-size:12.0pt;font-family:"Courier \
New""><br> </span></b><span style="font-size:10.0pt;font-family:"Courier \
New""><br> Containers \
FAIL 1<br> <br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier \
New""><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Courier New""><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:"Courier \
New"">/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:"Courier New"">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:"Courier \
New"">/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:"Courier \
New"">parentns.sh 0 TINFO : Pinging ChildNS \
from ParentNS<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Courier New"">Error: Can't \
cd<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Courier New"">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:"Courier New"">Error while running the \
script<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Courier New""><br> <br>
</span><b><span style="font-size:12.0pt">Suggested Code changes:</span></b><span \
style="font-size:10.0pt;font-family:"Courier New""><br> <br>
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New""><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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/ch_ftp.sh \
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:"Courier \
New"">@@ -27,6 +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:"Courier New"">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+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:"Courier New""><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier \
New""> ping -q -c 2 $IP1 > \
/dev/null<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New""> 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:"Courier New"">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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/child_1.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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/child_1.sh \
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:"Courier \
New"">@@ -28,6 +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:"Courier New"">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+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:"Courier New""><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New""> . \
initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">status=0<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/child_2.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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/child_2.sh \
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:"Courier \
New"">@@ -28,6 +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:"Courier New"">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+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:"Courier New"">. \
initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">status=0<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New""><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/childipv6.sh 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:"Courier \
New"">@@ -37,6 +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:"Courier New"">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+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:"Courier New"">. \
initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">status=0<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New""><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/childns.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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/childns.sh \
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:"Courier \
New"">@@ -33,6 +33,7 @@<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New""># 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:"Courier New""><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New""> 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:"Courier \
New"">+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:"Courier New"">. \
cmdlib.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier \
New"">. initialize.sh<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl \
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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/container_ftp.pl \
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:"Courier \
New"">@@ -36,8 +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:"Courier New"">my $kount = \
51;<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">my \
$file="junkfile";<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New""><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">-my $tmpdir = "/var/ftp";<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">-<o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">+#my $tmpdir = \
"/var/ftp";<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+my $tmpdir = "/home/ftp";<o:p></o:p></span></p> <p \
class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">my \
$dir;<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">$dir = \
tempdir("container_ftp.XXXXXXX", DIR => $tmpdir);<o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">if (!defined($dir)) \
{<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">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:"Courier New"">--- \
a/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.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:"Courier \
New"">+++ \
b/ltp-full-20130109/testcases/kernel/containers/netns/par_ftp.sh \
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:"Courier \
New"">@@ -32,6 +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:"Courier New"">export \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">export \
TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+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:"Courier New""><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier \
New""> ping -q -c 2 $IP2 > \
/dev/null<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New""><o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">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:"Courier New"">--- \
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:"Courier \
New"">+++ \
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:"Courier \
New"">@@ -30,6 +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:"Courier New"">export \
TCID<o:p></o:p></span></p> <p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier New"">export \
TST_COUNT<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">export TST_TOTAL<o:p></o:p></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier \
New"">+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:"Courier New""><o:p></o:p></span></p> \
<p class="MsoNormal" style="text-autospace:none"><span \
style="font-size:10.0pt;font-family:"Courier \
New""> # 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:"Courier New""> \
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:"Courier \
New""><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="font-size:10.0pt;font-family:"Courier New""><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