On Wed, Jan 02, 2008 at 06:11:25PM +0530, Subrata Modak wrote:
> On Wed, 2007-12-26 at 15:26 +0530, Sharyathi Nagesh wrote:
> > Subrata/Amit
> >    I am attaching the Makefile.
> > Regarding the setting up the environment for executing the test, 
> > searching for EXT4 partition may not be suitable
> >     As the found partition may not be set up to execute the test.
> > 
> > So options I am thinking are:--
> > 1) Set up the environment through LTP commands
> >    -> Display appropriate message if fallocate is not supported
> > 2) Set the execution path through command line
> >    -> Display appropriate message if fallocate is not supported
> 
> Yes, i think all these options are very much ok. You can go ahead and do
> this and give me a final consolidated patch for the same.
> Others, please pore in more ideas on this.


On Tue, 2007-12-25 at 01:17 +0530, Sharyathi Nagesh wrote:
> Hi
>    I am attaching a test cases written for testing fallocate() system
> call. Please go through the tests and let us know of your opinion.
>    A few points I wanted to put forth.
> o It needs to be executed from a folder that has EXT4 partition.
>                  else it will come out with error

Other file systems may implement fallocate(), don't restrict this to
EXT4.  You should be able to detect if the file system on which the test
runs does not support the operation and return a TCONF test status.  
I would suggest using option 2, allow a command line option.

Nate

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to