linux-test-project / ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)
https://linux-test-project.readthedocs.io/
GNU General Public License v2.0
2.27k stars 1k forks source link

Skip specific test for specific filesystem #1111

Open shivania2 opened 7 months ago

shivania2 commented 7 months ago

I am adding tarfs filesystem support for ltp locally. Tarfs is a readonly filesystem. Therefore i have to disable all write operation test for tarfs filesystem.

I can collect the list of write operation test, but not sure how to disable the write operation test only for tarfs filesystem. Let me know if it is possible with the current ltp project

metan-ucw commented 7 months ago

You basically need to write down your custom runtest file, see runtest/syscalls for how it should look like with tests that works on readonly FS. Then you can pass that runtest file to runltp script.

shivania2 commented 7 months ago

Thanks.