* [LTP] How to specify testcases by running runltp
@ 2015-06-25 1:29 Shuo Yang
2015-06-25 2:09 ` Xiaoguang Wang
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Shuo Yang @ 2015-06-25 1:29 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 406 bytes --]
Hi guys,
I just started using ltp, so this question is kind of dumb. I want to use
it to run some file system tests but I don't know what the command should
be. Currently I can run runtlp command but I don't know how to control the
testcases. Assuming the file system I want to test is under /tmp/foo/.
Could someone tell me how can I run the testcases specifically for testing
file system.
Thanks,
Shuo
[-- Attachment #1.2: Type: text/html, Size: 532 bytes --]
[-- Attachment #2: Type: text/plain, Size: 408 bytes --]
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [LTP] How to specify testcases by running runltp
2015-06-25 1:29 [LTP] How to specify testcases by running runltp Shuo Yang
@ 2015-06-25 2:09 ` Xiaoguang Wang
2015-06-25 3:12 ` Shuo Yang
2015-06-25 2:10 ` Cui Bixuan
2015-06-25 2:20 ` Li Wang
2 siblings, 1 reply; 7+ messages in thread
From: Xiaoguang Wang @ 2015-06-25 2:09 UTC (permalink / raw)
To: Shuo Yang; +Cc: ltp-list
Hi,
On 06/25/2015 09:29 AM, Shuo Yang wrote:
> Hi guys,
>
> I just started using ltp, so this question is kind of dumb. I want to use it to run some file system tests but I don't know what the command should be. Currently I can run runtlp command but I don't know how to control the testcases. Assuming the file system I want to test is under /tmp/foo/. Could someone tell me how can I run the testcases specifically for testing file system.
>
Script runltp's '-b DEVICE' and '-B LTP_DEV_FS_TYPE' can control the file
system you want to test. Assume /tmp/foo/ is a mount point, the corresponding
device is /dev/sda1 and file system type is xfs, then you can try './runltp -b /dev/sda1 -B xfs'.
Also if you want to test file system, xfstests is a good candidate.
Regards,
Xiaoguang Wang
> Thanks,
> Shuo
>
>
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>
>
>
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] How to specify testcases by running runltp
2015-06-25 2:09 ` Xiaoguang Wang
@ 2015-06-25 3:12 ` Shuo Yang
2015-06-25 3:13 ` Xiaoguang Wang
0 siblings, 1 reply; 7+ messages in thread
From: Shuo Yang @ 2015-06-25 3:12 UTC (permalink / raw)
To: Xiaoguang Wang; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 1830 bytes --]
Thank you so much for the answer. The file system I want to test is not from a regular device. I implemented a virtual file system on top of FUSE, so I only have a mount point to test. Is there a way to do this?
Thanks,
Shuo Yang
> On Jun 24, 2015, at 7:09 PM, Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> wrote:
>
> Hi,
>
> On 06/25/2015 09:29 AM, Shuo Yang wrote:
>> Hi guys,
>>
>> I just started using ltp, so this question is kind of dumb. I want to use it to run some file system tests but I don't know what the command should be. Currently I can run runtlp command but I don't know how to control the testcases. Assuming the file system I want to test is under /tmp/foo/. Could someone tell me how can I run the testcases specifically for testing file system.
>>
> Script runltp's '-b DEVICE' and '-B LTP_DEV_FS_TYPE' can control the file
> system you want to test. Assume /tmp/foo/ is a mount point, the corresponding
> device is /dev/sda1 and file system type is xfs, then you can try './runltp -b /dev/sda1 -B xfs'.
> Also if you want to test file system, xfstests is a good candidate.
>
> Regards,
> Xiaoguang Wang
>
>> Thanks,
>> Shuo
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Monitor 25 network devices or servers for free with OpManager!
>> OpManager is web-based network management software that monitors
>> network devices and physical & virtual servers, alerts via email & sms
>> for fault. Monitor 25 devices for free with no restriction. Download now
>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>>
>>
>>
>> _______________________________________________
>> Ltp-list mailing list
>> Ltp-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>>
>
[-- Attachment #1.2: Type: text/html, Size: 3292 bytes --]
[-- Attachment #2: Type: text/plain, Size: 408 bytes --]
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] How to specify testcases by running runltp
2015-06-25 3:12 ` Shuo Yang
@ 2015-06-25 3:13 ` Xiaoguang Wang
0 siblings, 0 replies; 7+ messages in thread
From: Xiaoguang Wang @ 2015-06-25 3:13 UTC (permalink / raw)
To: Shuo Yang; +Cc: ltp-list
Hi,
On 06/25/2015 11:12 AM, Shuo Yang wrote:
> Thank you so much for the answer. The file system I want to test is not from a regular device. I implemented a virtual file system on top of FUSE, so I only have a mount point to test. Is there a way to do this?
Sorry, I made a mistake here, script runltp's '-b DEVICE' and '-B LTP_DEV_FS_TYPE' can only provide
a block device for test cases which need a block device to have test. I think what you need is
runltp's '-d TMPDIR' option.
"-d TMPDIR Directory where temporary files will be created."
Regards,
Xiaoguang Wang
>
> Thanks,
> Shuo Yang
>
>
>
>
>> On Jun 24, 2015, at 7:09 PM, Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com <mailto:wangxg.fnst@cn.fujitsu.com>> wrote:
>>
>> Hi,
>>
>> On 06/25/2015 09:29 AM, Shuo Yang wrote:
>>> Hi guys,
>>>
>>> I just started using ltp, so this question is kind of dumb. I want to use it to run some file system tests but I don't know what the command should be. Currently I can run runtlp command but I don't know how to control the testcases. Assuming the file system I want to test is under /tmp/foo/. Could someone tell me how can I run the testcases specifically for testing file system.
>>>
>> Script runltp's '-b DEVICE' and '-B LTP_DEV_FS_TYPE' can control the file
>> system you want to test. Assume /tmp/foo/ is a mount point, the corresponding
>> device is /dev/sda1 and file system type is xfs, then you can try './runltp -b /dev/sda1 -B xfs'.
>> Also if you want to test file system, xfstests is a good candidate.
>>
>> Regards,
>> Xiaoguang Wang
>>
>>> Thanks,
>>> Shuo
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor 25 network devices or servers for free with OpManager!
>>> OpManager is web-based network management software that monitors
>>> network devices and physical & virtual servers, alerts via email & sms
>>> for fault. Monitor 25 devices for free with no restriction. Download now
>>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>>>
>>>
>>>
>>> _______________________________________________
>>> Ltp-list mailing list
>>> Ltp-list@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>>>
>>
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] How to specify testcases by running runltp
2015-06-25 1:29 [LTP] How to specify testcases by running runltp Shuo Yang
2015-06-25 2:09 ` Xiaoguang Wang
@ 2015-06-25 2:10 ` Cui Bixuan
2015-06-25 2:20 ` Li Wang
2 siblings, 0 replies; 7+ messages in thread
From: Cui Bixuan @ 2015-06-25 2:10 UTC (permalink / raw)
To: Shuo Yang; +Cc: ltp-list
On 2015/6/25 9:29, Shuo Yang wrote:
> Hi guys,
>
> I just started using ltp, so this question is kind of dumb. I want to use it to run some file system tests but I don't know what the command should be. Currently I can run runtlp command but I don't know how to control the testcases. Assuming the file system I want to test is under /tmp/foo/. Could someone tell me how can I run the testcases specifically for testing file system.
>
Hi,
"./runltp -f fs" can run file system testcases:
1、Compile the LTP
./configure --prefix=XX/build
make
make install
2、Run the cases (You can get the cases and how to run them from runtest/)
cd XX/build
./runltp -f fs
Then the LTP will run all the cases in runtest/fs file.
You can find the cases which to test "/tmp/foo/" from runtest/xx and add them to runtest/fs_test (touch it), then ./runltp -f fs_test.
Good luck,
Cui Bixuan
> Thanks,
> Shuo
>
>
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>
>
>
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [LTP] How to specify testcases by running runltp
2015-06-25 1:29 [LTP] How to specify testcases by running runltp Shuo Yang
2015-06-25 2:09 ` Xiaoguang Wang
2015-06-25 2:10 ` Cui Bixuan
@ 2015-06-25 2:20 ` Li Wang
2 siblings, 0 replies; 7+ messages in thread
From: Li Wang @ 2015-06-25 2:20 UTC (permalink / raw)
To: Shuo Yang; +Cc: ltp-list
----- Original Message -----
> Hi guys,
>
> I just started using ltp, so this question is kind of dumb. I want to use it
> to run some file system tests but I don't know what the command should be.
Hi,
Assuming you have installed the ltp test suit in '/mnt/testarea/ltp' path, then just
cd to the place:
# pwd
/mnt/testarea/ltp/runtest
# ../runltp -f fs
after that, it running all the filesystem case.
BTW, you also could modify the content of 'fs' to customize the testcase you want to use.
Best,
Li Wang
> Currently I can run runtlp command but I don't know how to control the
> testcases. Assuming the file system I want to test is under /tmp/foo/. Could
> someone tell me how can I run the testcases specifically for testing file
> system.
>
> Thanks,
> Shuo
>
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [LTP] How to specify testcases by running runltp
@ 2015-06-24 20:50 Shuo Yang
0 siblings, 0 replies; 7+ messages in thread
From: Shuo Yang @ 2015-06-24 20:50 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 406 bytes --]
Hi guys,
I just started using ltp, so this question is kind of dumb. I want to use
it to run some file system tests but I don't know what the command should
be. Currently I can run runtlp command but I don't know how to control the
testcases. Assuming the file system I want to test is under /tmp/foo/.
Could someone tell me how can I run the testcases specifically for testing
file system.
Thanks,
Shuo
[-- Attachment #1.2: Type: text/html, Size: 496 bytes --]
[-- Attachment #2: Type: text/plain, Size: 408 bytes --]
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-06-25 3:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-25 1:29 [LTP] How to specify testcases by running runltp Shuo Yang
2015-06-25 2:09 ` Xiaoguang Wang
2015-06-25 3:12 ` Shuo Yang
2015-06-25 3:13 ` Xiaoguang Wang
2015-06-25 2:10 ` Cui Bixuan
2015-06-25 2:20 ` Li Wang
-- strict thread matches above, loose matches on Subject: below --
2015-06-24 20:50 Shuo Yang
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.