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
Ok, why don“t we/you search for the EXT4 file system before starting testing from inside your test case (in this from each of the 3 test cases) to find out the existence of EXT4 file system, if any in that system. Run the tests only if it exists, else exit with appropriate message. Moreover, try to create a temp directory in that file system, if at all it exists, and then go ahead with the test. And Also the Makefile for this? Send me a Patch which would add up all the test cases as well as the Makefile for them, after all the issues are resolved --Subrata > o __NR_FALLOCATE needs to be declared under > include/linux_syscall_numbers.h > Some of the architecture specific values: > x86 324 > x86_64 324 > ia64 1303 > s390 314 > > Thanks > Yeehaw > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
