[LTP] [PATCH] swapon03: Correct the test swapfile name for swapoff() to work

Li Wang liwang@redhat.com
Fri Oct 31 09:44:54 CET 2025


On Fri, Oct 31, 2025 at 4:14 PM Petr Vorel <pvorel@suse.cz> wrote:

> Hi Avinesh,
>
> > Fix an obvious mistake in the test. It remained hidden as test used
> > to run successfully and was never executing it.
> > On failure, it causes umount to fail as we do not swapoff() for the
> > edge case swapfile, and also causes breakage in subsequent filesystems
> > as we use the same loop device.
>
> Good catch, thank you!
>

Absolutely, patch merged.


-- 
Regards,
Li Wang


More information about the ltp mailing list