From: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
To: Srinivasa R Chamarthy <schamart@linux.vnet.ibm.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [BUG] cgroup_fj tests fail to run due to missing cgroup_fj_testcases
Date: Tue, 23 Mar 2010 20:10:13 +0530 [thread overview]
Message-ID: <20100323144012.GC16182@linux.vnet.ibm.com> (raw)
In-Reply-To: <20100323122527.GA6017@chamarthy>
On Tue, Mar 23, 2010 at 05:55:27PM +0530, Srinivasa R Chamarthy wrote:
> Hi LTP,
>
> cgroup_fj tests of controllers is currently failing due to missing file
> cgroup_fj_testcases after compilation. I see that the file cgroup_fj_testcases
> is existing in the source but it is not available in /opt/ltp after
> compilation.
>
> FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2010_Mar_23-13h_22m_15s.failed
> Running tests.......
> <<<test_start>>>
> tag=cgroup_fj stime=1269346936
> cmdline=" run_cgroup_test_fj.sh"
> contacts=""
> analysis=exit
> <<<test_output>>>
> incrementing stop
> Now, we start the test for cgroup...
> cat: cgroup_fj_testcases: No such file or directory
> <<<execution_status>>>
> initiation_status="ok"
> duration=0 termination_type=exited termination_id=0 corefile=no
> cutime=6 cstime=2
> <<<test_end>>>
> INFO: ltp-pan reported all tests PASS
> LTP Version: LTP-20100228
>
> Eventhough the tests did not run, the results say all tests PASS. :)
For the above report here is the quick fix i can think.
commit 391e757d43b3ac33a4a435e319ee77b1daa6da76
Author: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
Date: Tue Mar 23 20:07:34 2010 +0530
Fix the proper return for testcase.
Reported By: Srinivasa R Chamarthy <schamart@linux.vnet.ibm.com>
Signed-off By: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
diff --git a/testcases/kernel/controllers/cgroup_fj/run_cgroup_test_fj.sh
b/testcases/kernel/controllers/cgroup_fj/run_cgroup_test_fj.sh
index 7445725..672f37c 100755
--- a/testcases/kernel/controllers/cgroup_fj/run_cgroup_test_fj.sh
+++ b/testcases/kernel/controllers/cgroup_fj/run_cgroup_test_fj.sh
@@ -129,4 +129,4 @@ do
fi
done
-exit 0;
+exit $ret;
>
> --
> Srinivasa R Chamarthy (schamart@linux.vnet.ibm.com)
> Linux on System z (RedHat & Novell SuSE) CSVT,
> IBM India Systems & Technology Group/LTC - ISL,
> Bangalore - 560071, KA, INDIA. Off: +91-80-41776451
> [ http://www.ibm.com/in/isl | http://www.ibm.com/linux/ltc ]
>
> ------------------------------------------------------------------------------
> 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
--
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net
------------------------------------------------------------------------------
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
prev parent reply other threads:[~2010-03-23 14:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 12:25 [LTP] [BUG] cgroup_fj tests fail to run due to missing cgroup_fj_testcases Srinivasa R Chamarthy
2010-03-23 13:14 ` Rishikesh K Rajak
2010-03-23 13:32 ` Srinivasa R Chamarthy
2010-03-23 14:10 ` Srinivasa R Chamarthy
2010-03-23 14:23 ` Srinivasa R Chamarthy
2010-03-23 14:44 ` Rishikesh K Rajak
2010-03-23 14:24 ` Rishikesh K Rajak
2010-03-23 14:40 ` Rishikesh K Rajak [this message]
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=20100323144012.GC16182@linux.vnet.ibm.com \
--to=risrajak@linux.vnet.ibm.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=schamart@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