> +for m in $modes; do
> +     tst_resm TINFO "add $virt_type with mode '$m'"
> +
> +     virt_add ltp_v0 mode $m > /dev/null 2>&1
> +     if [ $? -ne 0 ]; then
> +             tst_resm TCONF "iproute or kernel doesn't support mode '$m'"

                shouldn't we rather call continue here, since we issued
                TCONF but without it we will proceed with PASS/FAIL from
                the virt_add_delete_test. Or am I mistaken?

> +     else
> +             ROD_SILENT "ip li delete ltp_v0"
> +     fi
> +
> +     virt_add_delete_test "mode $m"
> +
> +     start_id=$(($start_id + $virt_count))
> +done
> +
> +tst_exit
> -- 
> 1.7.1
> 
> 
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to