[LTP] [PATCH v3] Add process_madvise01 test

Cyril Hrubis chrubis@suse.cz
Wed Aug 30 12:45:48 CEST 2023


Hi!
> +	TST_EXP_EXPR(map_before.swap < map_after.swap,
> +		"Most of the memory has been swapped out: %dkB out of %dkB",
> +		map_after.swap,

Although it's unlikely that map_before.swap will be non-zero we should
print the difference here, so I've changed this part to:

map_after.swap - map_before.swap

And pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list