[LTP] [PATCH v2 4/4] ioctl_sg01: Loop data leak check 100 times

Petr Vorel pvorel@suse.cz
Wed Sep 2 19:17:17 CEST 2020


Hi Martin,

> Even with pre-polluted memory, running the test just once might result in
> a false negative. Loop it a few times to increase reliability.

Obviously ok.
Reviewed-by: Petr Vorel <pvorel@suse.cz>

BTW do I understand the test correctly: we expect ioctl() return -1 because we
use uninitialized command[CMD_SIZE] in query.cmdp (as the requirement for empty
command in kernel commit message)?

Kind regards,
Petr


More information about the ltp mailing list