[LTP] [PATCH v1] Avoid swapon01 failing with EPERM

Petr Vorel pvorel@suse.cz
Wed Oct 11 17:43:47 CEST 2023

> * Simply require root permissions like the other swapon tests do
> * Fixes #1091

Reported-by: Richard Palethorpe <rpalethorpe@suse.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Suggested-by: Cyril Hrubis <chrubis@suse.cz>
Fixes: 23fa0e045 ("syscalls/swapon/swapon01: Convert swapon01 to the new API")
Fixes: https://github.com/linux-test-project/ltp/issues/1091


Kind regards,

More information about the ltp mailing list