[PATCH] erofs-utils: tests: add test for file-backed mount

Hongzhen Luo hongzhen at linux.alibaba.com
Tue Oct 15 15:30:50 AEDT 2024


On 2024/10/15 11:48, Gao Xiang wrote:
>
>
> On 2024/10/14 23:03, Hongzhen Luo wrote:
>> Test for the file-backed mount feature.
>>
>> Signed-off-by: Hongzhen Luo <hongzhen at linux.alibaba.com>
>
> I think we need to run all previous tests for file-backed mounts,
> and it's my previous mount helper for testing.
>
> #include <sys/mount.h>
>
> int main(int argc, char *argv[])
> {
>         return mount(argv[1], argv[2], "erofs", MS_RDONLY, argc >= 3 ? 
> argv[3] : NULL);
>
> }
>
> Thanks,
> Gao Xiang

Sure.

---

Thanks,

Hongzhen



More information about the Linux-erofs mailing list