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

Are there any tests for read-only file systems ? Like squashfs、erofs #1103

Closed yumdeer closed 7 months ago

yumdeer commented 7 months ago

exm, are there any tests for read-only file systems? As the title suggests, I need to test some read-only file systems, such as syscalls, etc. However, it is too time-consuming to distinguish whether each test case has write operations that return errors, so I need some guidance.

metan-ucw commented 7 months ago

Unfortunately I do not think that we have many tests that work with files and read-only FS and the few that would work in such setup are not tagged in any way, so selecting these would be time consuming. I also had a look at xfstests but I haven't been able to locate any read-only FS tests there either. I would try to ask on the Linux automated testing mailing list, see https://elinux.org/Automated_Testing since that is probably a place with a highest concentration of Linux kernel testers.