Hi!
On 04/23/2014 07:14 PM, chru...@suse.cz wrote:
> Hi!
>> I would like to add "posix_fallocate" test based on what we already have
>> in syscalls/fallocate, because the behavior of "posix_fallocate" is
>> close to what is doing fallocate by default, so most test scenarios will
>> be the same. What is the correct way to do it, place it in
>> open_posix_testsuite as new ones or add it to fallocate tests?
> That is hard to tell.
>
> If you care for posix_fallocate strictly POSIX conformace add it to
> open_posix_testsuite and write the tests accordingly to the POSIX
> specification.
>
> If you care about API coverage add it to the syscalls testcases and
> share as much code with the fallocate testcases as possible.

OK, I will add it to syscalls. What I would want is to make a wrapper, 
then substitute all calls of fallocate with it. And decision which 
function to call decided inside wrapper using command line option. So 
they would be called this way:

...
fallocate01 fallocate01
fallocate02 fallocate02
fallocate03 fallocate03

posix_fallocate01 fallocate01 -x
posix_fallocate02 fallocate02 -x
posix_fallocate03 fallocate03 -x
...


Thanks,
Alexey


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to