[KMTESTS:TCPIP] ReturnAddress: Expect NT5 result, not NT6+ one

ROSTESTS-268
This commit is contained in:
Serge Gautherie 2018-09-16 17:38:38 +02:00 committed by Pierre Schweitzer
parent f2f24c1fa7
commit 302144c5ac

View file

@ -229,11 +229,11 @@ TestTcpConnect(void)
ok_eq_long(ReturnInfo.UserDataLength, 0);
ok_eq_pointer(ReturnInfo.UserData, NULL);
ok_eq_long(ReturnAddress.TAAddressCount, 0);
ok_eq_hex(ReturnAddress.Address[0].AddressType, 0);
ok_eq_hex(ReturnAddress.Address[0].AddressLength, 0);
ok_eq_hex(ReturnAddress.Address[0].Address[0].sin_port, 0);
ok_eq_hex(ReturnAddress.Address[0].Address[0].in_addr, 0);
ok_eq_long(ReturnAddress.TAAddressCount, 1);
ok_eq_hex(ReturnAddress.Address[0].AddressType, TDI_ADDRESS_TYPE_IP);
ok_eq_hex(ReturnAddress.Address[0].AddressLength, TDI_ADDRESS_LENGTH_IP);
ok_eq_hex(ReturnAddress.Address[0].Address[0].sin_port, htons(TEST_CONNECT_SERVER_PORT));
ok_eq_hex(ReturnAddress.Address[0].Address[0].in_addr, InAddr.S_un.S_addr);
ObDereferenceObject(ConnectionFileObject);