network/sit01.sh: Replace tst_res with tst_brk
PATCH v3 1/1 network/sit01.sh: Replace tst_res with tst_brk
We need replace tst_res with tst_brk to terminate the test immediately since there is no sence to go on.
Signed-off-by Zhao Gongyi <[email protected]>
---v2->v3: split into two separate commits
testcases/network/virt/sit01.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/network/virt/sit01.sh +1 -1
@@ -11,7 +11,7 @@ virt_type="sit" do_setup() { - [ -n "$TST_IPV6" ] && tst_res TBROK "invalid option '-6' for sit tunnel" + [ -n "$TST_IPV6" ] && tst_brk TBROK "invalid option '-6' for sit tunnel" virt_lib_setup
--
2.17.1
PATCH v3 1/1 network/sit01.sh: Replace tst_res with tst_brk
Hi,
testcases/network/virt/sit01.sh virt_type="sit" · line 14
Quoted 8 lines
We need replace
tst_reswithtst_brkto terminate the test immediately since there is no sence to go on.+++
b/testcases/network/virt/sit01.sh
do_setup()
{testcases/network/virt/sit01.sh +1
-1- [ -n "$TST_IPV6" ] && tst_res TBROK "invalid option '-6' for sit tunnel" + [ -n "$TST_IPV6" ] && tst_brk TBROK "invalid option '-6' for sit tunnel"
Reviewed-by Petr Vorel <[email protected]>
Kind regards,
Petr
Petr Vorel
AppliedPATCH v3 1/1 network/sit01.sh: Replace tst_res with tst_brk
In reply to Zhao GongyiHi,
testcases/network/virt/sit01.sh virt_type="sit" · line 14
Quoted 3 lines
+++
b/testcases/network/virt/sit01.shtestcases/network/virt/sit01.sh +1
-1- [ -n "$TST_IPV6" ] && tst_res TBROK "invalid option '-6' for sit tunnel" + [ -n "$TST_IPV6" ] && tst_brk TBROK "invalid option '-6' for sit tunnel"
Merged, thanks!
Kind regards,
Petr