On Sat, Oct 12, 2024 at 07:11:57PM GMT, Guixin Liu wrote: > +requires() { > + _nvme_requires > +} It's probably a good idea to test if the reservation feature is available, otherwise this test just fails on older kernels. > +Running nvme/054 > +Register > + > +NVME Reservation status: > + > +gen : 0 > +rtype : 0 > +regctl : 0 > +ptpls : 0 > + > +NVME Reservation success I think this is a bit fragile, because the output of the nvme command might be extended or reformatted (obviously not on purpose but happens). I'd recommend to explicitly check for the expected values in the test.