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.f...@cn.fujitsu.com >> <mailto:wangxg.f...@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