[LTP] [PATCH v2] libswap.c: Improve calculate swap dev number

Petr Vorel pvorel@suse.cz
Tue Mar 5 22:04:21 CET 2024


Hi Wei, all,

thanks, merged!

FYI swapon03 with this patch still fails on SLES 12-SP5 (4.12 based kernel):

tst_kconfig.c:87: TINFO: Parsing kernel config '/proc/config.gz'
tst_kconfig.c:87: TINFO: Parsing kernel config '/proc/config.gz'
swapon03.c:55: TFAIL: swapon(filename, 0) failed: EPERM (1)
swapon03.c:55: TFAIL: swapon(filename, 0) failed: EPERM (1)

But that's likely fails even without the patch (going to verify older SLES
releases).

Kind regards,
Petr


More information about the ltp mailing list