<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#C0C0C0">
$NS_TIMES is not set value which lead run if4-addr-chage to
failure. <br>
failure message as below:<br>
--------------------------------------------------------------------------------------------<br>
/opt/ltp/testcases/bin/if4-addr-change: line 24: / 20: syntax error:
operand expected (error token is "/ 20")<br>
--------------------------------------------------------------------------------------------<br>
Signed-off-by: Lianwen Sun <a class="moz-txt-link-rfc2396E" href="mailto:sunlw.fnst@cn.fujitsu.com"><sunlw.fnst@cn.fujitsu.com></a><br>
---<br>
testcases/network/stress/interface/if4-addr-change | 4 ++--<br>
1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/testcases/network/stress/interface/if4-addr-change
b/testcases/network/stress/interface/if4-addr-change<br>
index a665b85ff..4eaabd70c 100644<br>
--- a/testcases/network/stress/interface/if4-addr-change<br>
+++ b/testcases/network/stress/interface/if4-addr-change<br>
@@ -21,12 +21,12 @@ TST_TOTAL=1<br>
TCID=if4-addr-change<br>
TST_CLEANUP="do_cleanup"<br>
<br>
+. test_net.sh<br>
+<br>
CHECK_INTERVAL=${CHECK_INTERVAL:-$(($NS_TIMES / 20))}<br>
# Maximum host portion of the IPv4 address on the local host<br>
LHOST_IPV4_HOST_MAX="254"<br>
<br>
-. test_net.sh<br>
-<br>
do_cleanup()<br>
{<br>
tst_restore_ipaddr<br>
-- <br>
<br>
<br>
</body>
</html>