[LTP] [PATCH 2/3] quotactl08: Use do_mount()

Martin Doucha mdoucha@suse.cz
Thu Mar 3 12:38:28 CET 2022


On 24. 02. 22 2:47, xuyang2018.jy@fujitsu.com wrote:
> Hi Petr
>> to change
>> quotactl08.c:160: TBROK: mount(/dev/loop0, mntpoint, ext4, 0, (nil)) failed: ESRCH (3)
> I doubt why fs quota is not supported on this case since we have check
> kernel config?

In this case, kernel config says that quota is enabled as a module (=M).
But the module is packaged in a separate RPM and the test is running on
a minimalistic system where that RPM is not available. Therefore just
checking the kernel config is not sufficient. We need to query actual
module presence.

(Sorry for duplicate mail, I forgot to CC the mailing list.)

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list