inetmib1/tests: Compare instead of assign.
This commit is contained in:
parent
b27db86ca4
commit
682890ae4d
|
@ -364,7 +364,7 @@ static void testQuery(void)
|
||||||
* FIXME: don't know if IPv6 addrs are shared with this table.
|
* FIXME: don't know if IPv6 addrs are shared with this table.
|
||||||
* Don't think so, but I'm not certain.
|
* Don't think so, but I'm not certain.
|
||||||
*/
|
*/
|
||||||
ok(vars2[0].name.idLength = vars[0].name.idLength + 4,
|
ok(vars2[0].name.idLength == vars[0].name.idLength + 4,
|
||||||
"expected length %d, got %d\n", vars[0].name.idLength + 4,
|
"expected length %d, got %d\n", vars[0].name.idLength + 4,
|
||||||
vars2[0].name.idLength);
|
vars2[0].name.idLength);
|
||||||
/* Make sure the type is right */
|
/* Make sure the type is right */
|
||||||
|
|
Loading…
Reference in New Issue