[LTP] [PATCH] swapon03: Correct the test swapfile name for swapoff() to work
    Petr Vorel 
    pvorel@suse.cz
       
    Fri Oct 31 09:13:46 CET 2025
    
    
  
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!
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
    
    
More information about the ltp
mailing list