From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Fri, 30 Jul 2021 09:08:31 +0200 Subject: [LTP] [PATCH v2] ipsec_lib.sh: check ip_vti/ip6_vti are enabled or skip tests In-Reply-To: <20210728140453.23356-1-radoslav.kolev@suse.com> References: <20210728140453.23356-1-radoslav.kolev@suse.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Radoslav, ... > + if [ "$TST_IPV6" ]; then > + tst_net_run -q "tst_check_drivers ip6_vti" || \ > + tst_brk TCONF "ip6_vti driver not available on lhost or rhost" > + else > + tst_net_run -q "tst_check_drivers ip_vti" || \ > + tst_brk TCONF "ip_vti driver not available on lhost or rhost" > + fi nit: broken indentation, but that'll be fix during merge. LGTM, but I'm going to merge shorter version (we have $TST_IPV6 for this purpose). tst_net_run -q "tst_check_drivers ip${TST_IPV6}_vti" || \ tst_brk TCONF "ip${TST_IPV6}_vti driver not available on lhost or rhost" Reviewed-by: Petr Vorel Kind regards, Petr