* [LTP] cpuset_regression_test failure
@ 2020-02-18 7:14 Pankaj Vinadrao Joshi
2020-02-18 8:06 ` Yang Xu
0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-02-18 7:14 UTC (permalink / raw)
To: ltp
Hi,
I am trying to run cpuset_regression_test on my linux 5.4.3 with our Yocto distro,i got FAIL result for this test when i ran complete ltp test but i did not got reason for test failure but when i tried to run this test seperately it showing is it correct way to run this test,how this test needs to be ran independently?
root@exaleapsemi:~/pankaj_ltp_new/ltp/testcases/kernel/controllers/cpuset# ./cpuset_regression_test.sh
./cpuset_regression_test.sh: line 27: .: test.sh: file not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200218/0a4e9232/attachment.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LTP] cpuset_regression_test failure
2020-02-18 7:14 [LTP] cpuset_regression_test failure Pankaj Vinadrao Joshi
@ 2020-02-18 8:06 ` Yang Xu
2020-02-19 10:23 ` Cyril Hrubis
0 siblings, 1 reply; 4+ messages in thread
From: Yang Xu @ 2020-02-18 8:06 UTC (permalink / raw)
To: ltp
Hi
> Hi,
> I am trying to run *cpuset_regression_test* on my linux 5.4.3 with our
> Yocto distro,i got *FAIL* result for this test when i ran complete ltp
> test but i did not got reason for test failure but when i tried to run
> this test seperately it showing is it correct way to run this test,how
> this test needs to be ran independently?
sh can not be ran independently unless using runltp sh.
ltp has many runtest files, you can grep cpuset_regression_test.sh in
ltp/runtest file.
such as "
# grep -nsr cpuset_regression_test.sh
controllers:353:cpuset_regression_test cpuset_regression_test.sh
(cpuset_regression_test is a tag, and cpuset_regression_test.sh is
indeed excutable file)
Then you can specify -f to chose runtest file and -s to match string
pattern by using runltp sh in /opt/ltp directory.(You can ./runltp
--help see more info)
run this case independently as below:
cd /opt/ltp
./runltp -f controllers -s cpuset_regression_test
Best Regards
Yang Xu
>
> root@exaleapsemi:~/pankaj_ltp_new/ltp/testcases/kernel/controllers/cpuset#
> *./cpuset_regression_test.sh *
>
> .*/cpuset_regression_test.sh: line 27: .: test.sh: file not found*
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LTP] cpuset_regression_test failure
2020-02-18 8:06 ` Yang Xu
@ 2020-02-19 10:23 ` Cyril Hrubis
2020-02-19 10:32 ` Yang Xu
0 siblings, 1 reply; 4+ messages in thread
From: Cyril Hrubis @ 2020-02-19 10:23 UTC (permalink / raw)
To: ltp
Hi!
> > I am trying to run *cpuset_regression_test* on my linux 5.4.3 with our
> > Yocto distro,i got *FAIL* result for this test when i ran complete ltp
> > test but i did not got reason for test failure but when i tried to run
> > this test seperately it showing is it correct way to run this test,how
> > this test needs to be ran independently?
> sh can not be ran independently unless using runltp sh.
They could, but you have to setup $PATH correctly first, we are sourcing
shell scripts and executing binaries from /opt/ltp/testcases/bin, so in
most cases this should work:
PATH="$PATH:/opt/ltp/testcases/bin" ./foo.sh
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LTP] cpuset_regression_test failure
2020-02-19 10:23 ` Cyril Hrubis
@ 2020-02-19 10:32 ` Yang Xu
0 siblings, 0 replies; 4+ messages in thread
From: Yang Xu @ 2020-02-19 10:32 UTC (permalink / raw)
To: ltp
Hi Cyril
> Hi!
>>> I am trying to run *cpuset_regression_test* on my linux 5.4.3 with our
>>> Yocto distro,i got *FAIL* result for this test when i ran complete ltp
>>> test but i did not got reason for test failure but when i tried to run
>>> this test seperately it showing is it correct way to run this test,how
>>> this test needs to be ran independently?
>> sh can not be ran independently unless using runltp sh.
>
> They could, but you have to setup $PATH correctly first, we are sourcing
> shell scripts and executing binaries from /opt/ltp/testcases/bin, so in
> most cases this should work:
>
> PATH="$PATH:/opt/ltp/testcases/bin" ./foo.sh
Yes, you are right. Sorry for the wrong info.
Best Regards
Yang Xu
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-19 10:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18 7:14 [LTP] cpuset_regression_test failure Pankaj Vinadrao Joshi
2020-02-18 8:06 ` Yang Xu
2020-02-19 10:23 ` Cyril Hrubis
2020-02-19 10:32 ` Yang Xu
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.