[LTP] [PATCH] setxattr: prefer not to run tests in tmpfs

Maxin B. John maxin.john@gmail.com
Mon Mar 20 16:41:55 CET 2017


Hi,

On Mon, Mar 20, 2017 at 5:30 PM, Cyril Hrubis <chrubis@suse.cz> wrote:
> Hi!
>> > We can either exit the test with TCONF if /tmp is on tmpfs or format and
>> > mount a device and run these testcases on a file created there in that
>> > case.
>>
>> Thanks for sharing your thoughts. It is clear now.
>>
>> However, what about tests which fails by default on tmpfs like "fcntl" tests?
>> Should we default to the "/tmp" directory rather than mounting another device
>> and run the tests again ?
>
> Have a look at ftruncate04.c testcase, that falls back to mounting a
> device over the directory the test uses if needed.

That helps.  Thank you!

> --
> Cyril Hrubis
> chrubis@suse.cz

Warm Regards,
Maxin


More information about the ltp mailing list