[LTP] [PATCH 2/2] broken_ip: TCONF when test run on unsupported protocol

Petr Vorel pvorel@suse.cz
Thu Jul 15 14:07:42 CEST 2021


Hi Alexey,

...
> >  TST_TESTFUNC="do_test"
> > +TST_NET_IPV6_ONLY=1

> +TST_IPV6=6 won't work to fix #843?
Sure, it'd fix it. And TST_IPV6= for broken_ip-ihl. That's a simple way to fix
it. But I thought having TST_NET_IPV{4,6}_ONLY=1 would be self descriptive + it
could be later processed with docparse metadata documentation (I plan to
implement docparse for shell).

So it's more a question whether we want to manifest this info.

Kind regards,
Petr

...
> >  TST_TESTFUNC="do_test"
> > +TST_NET_IPV4_ONLY=1
> >  . tst_net.sh

> >  do_test()

> The generic version looks fine:

> Reviewed-by: Alexey Kodanev <aleksei.kodanev@bell-sw.com>


More information about the ltp mailing list