https://git.reactos.org/?p=reactos.git;a=commitdiff;h=302144c5acdde1bd47b6cff117e2a972491cc75e

commit 302144c5acdde1bd47b6cff117e2a972491cc75e
Author:     Serge Gautherie <reactos-git_serge_171...@gautherie.fr>
AuthorDate: Sun Sep 16 17:38:38 2018 +0200
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Thu Oct 4 18:17:15 2018 +0200

    [KMTESTS:TCPIP] ReturnAddress: Expect NT5 result, not NT6+ one
    
    ROSTESTS-268
---
 modules/rostests/kmtests/tcpip/connect.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/rostests/kmtests/tcpip/connect.c 
b/modules/rostests/kmtests/tcpip/connect.c
index 89fc75849a..ef85db2a9f 100644
--- a/modules/rostests/kmtests/tcpip/connect.c
+++ b/modules/rostests/kmtests/tcpip/connect.c
@@ -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);
 

Reply via email to