[LTP] [PATCH] lsmod01.sh: retry test couple times to lower false positives

Petr Vorel
2019-10-18T13:45:26Z

Hi Jan,

...
> if [ "$lsmod_output" != "$modules_output" ]; then
> - tst_res TFAIL "lsmod output different from /proc/modules."
> + tst_res TINFO "lsmod output different from /proc/modules."

> echo "$lsmod_output" > temp1
> echo "$modules_output" > temp2
> diff temp1 temp2
Also this code could be wrapped with
if tst_cmd_available diff; then

(I wouldn't add it to TST_NEEDS_CMDS)

Kind regards,
Petr