<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#C0C0C0">
<p>Hi Alexey<br>
</p>
<p> I set eth1 as test interface in test_net.sh. but in6_02 test
report</p>
<p>"in6_02.c:264: LHOST_IFACES not defined, default to eth0" ,this
cause</p>
<p>in6_02 test fail. although I can set LHOST_IFACES global
variable,let this</p>
<p>case test pass. But if this ,the test_net.sh is meaningless.</p>
<p>the test result is below:</p>
<p><<<test_output>>>
<br>
in6_02 0 TINFO : get interface name from LHOST_IFACES
var
<br>
in6_02 0 TWARN : in6_02.c:264: LHOST_IFACES not defined,
default to
eth0
<br>
in6_02 0 TINFO : if_nametoindex("lo")
1
<br>
in6_02 0 TINFO : if_nametoindex("eth0")
2
<br>
incrementing
stop
<br>
in6_02 0 TINFO : if_nametoindex("hoser75")
0
<br>
in6_02 0 TINFO : if_nametoindex("6")
0
<br>
in6_02 1 TPASS : if_nametoindex() tests
succeed
<br>
in6_02 0 TINFO : if_indextoname(0) returns
NULL
<br>
in6_02 0 TINFO : if_indextoname(1) returns
"lo"
<br>
in6_02 0 TINFO : if_indextoname(2) returns
"eth0"
<br>
in6_02 0 TINFO : if_indextoname(3) returns
"eth1"
<br>
in6_02 0 TINFO : if_indextoname(4) returns
NULL
<br>
in6_02 0 TINFO : if_indextoname(5) returns
NULL
<br>
in6_02 0 TINFO : if_indextoname(6) returns NULL<br>
in6_02 0 TINFO : if_indextoname(7) returns NULL<br>
in6_02 0 TINFO : if_indextoname(8) returns NULL<br>
in6_02 0 TINFO : if_indextoname(9) returns NULL<br>
in6_02 0 TINFO : if_indextoname(1804289383) returns NULL<br>
in6_02 0 TINFO : if_indextoname(846930886) returns NULL<br>
in6_02 0 TINFO : if_indextoname(1681692777) returns NULL<br>
in6_02 0 TINFO : if_indextoname(1714636915) returns NULL<br>
in6_02 0 TINFO : if_indextoname(1957747793) returns NULL<br>
in6_02 0 TINFO : if_indextoname(424238335) returns NULL<br>
in6_02 0 TINFO : if_indextoname(719885386) returns NULL<br>
in6_02 0 TINFO : if_indextoname(1649760492) returns NULL<br>
in6_02 0 TINFO : if_indextoname(596516649) returns NULL<br>
in6_02 0 TINFO : if_indextoname(1189641421) returns NULL<br>
in6_02 2 TPASS : if_indextoname() tests succeed<br>
in6_02 0 TINFO : if_nameindex idx 1 name "lo"<br>
in6_02 0 TINFO : if_nameindex idx 2 name "eth0"<br>
in6_02 0 TINFO : if_nameindex idx 3 name "eth1"<br>
in6_02 0 TINFO : if_freenameindex passed 4096 iterations<br>
in6_02 3 TPASS : if_nameindex() tests succeed<br>
<<<execution_status>>><br>
initiation_status="ok"<br>
duration=0 termination_type=exited termination_id=4 corefile=no<br>
cutime=0 cstime=5<br>
<<<test_end>>><br>
INFO: ltp-pan reported some tests FAIL<br>
LTP Version: 20180118<br>
</p>
<p>Thanks ,</p>
<p>Lianwen Sun<br>
</p>
</body>
</html>