[LTP] [PATCH] ipsec_lib.sh: test xfrm_user driver locally before rhost

Köry Maincent kory.maincent@bootlin.com
Wed Dec 16 15:23:29 CET 2020


Hi Alexey,

On Wed, 16 Dec 2020 14:10:34 +0300
Alexey Kodanev <alexey.kodanev@oracle.com> wrote:
> >>
> >> tst_net_run() checks the driver locally first, so I don't
> >> quite understand why do exactly the same what tst_net_run()
> >> supposed to do?  
> > 
> > Indeed but it returns a TWARN because the command "tst_check_drivers
> > xfrm_user" not end properly, but in fact it should return a TCONF due to
> > the missing xfrm_drivers.
> > In the final result file we got a FAIL error with the value 36 in place of a
> > CONF with value 32 which should be the right message.
> >   
> 
> Perhaps it needs -q option here:
> 
> tst_net_run -q "tst_check_drivers xfrm_user" ... so it skips TWARN?
> 

Ah yes, I feel stupid! ;)
Tested it, it works as expected.
Do you want me to send a v2 patch?

Regards,

Köry


More information about the ltp mailing list