Hi, On 08/11/2015 09:00 PM, Cyril Hrubis wrote: > Hi! >> --- a/testcases/network/virt/virt_lib.sh >> +++ b/testcases/network/virt/virt_lib.sh >> @@ -90,7 +90,8 @@ cleanup_vifaces() >> tst_resm TINFO "cleanup virtual interfaces..." >> local viface=`ip link | sed -nE 's/^[0-9]+: (ltp_v[0-9]+):.+/\1/p'` >> for vx in $viface; do >> - ip link delete $vx >> + ROD_SILENT "ip link set $vx down" >> + ROD_SILENT "ip link delete $vx" > Do we really want to exit the cleanup if deleting one of the interfaces > has failed?
Yes, you are right. I though it would simplify the code for test-case where we adding many interfaces... OK, I'll delete with ROD_SILENT in the test-case and fix cleanup as it was before. Thanks, Alexey ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list