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

Jan Stancek jstancek@redhat.com
Tue Oct 22 09:10:23 CEST 2019



----- Original Message -----
> 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

Added this as well and pushed.



More information about the ltp mailing list