=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: iphlpapi/tests: Test ScopeID only for IPv6.

Alexandre Julliard julliard at winehq.org
Mon Feb 27 15:12:09 CST 2017


Module: wine
Branch: master
Commit: 38bf651bc4efdce9ef296326b7cf40d6ae117e52
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=38bf651bc4efdce9ef296326b7cf40d6ae117e52

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Feb 27 14:05:45 2017 +0100

iphlpapi/tests: Test ScopeID only for IPv6.

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Bruno Jesus <bjesus at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/iphlpapi/tests/iphlpapi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/iphlpapi/tests/iphlpapi.c b/dlls/iphlpapi/tests/iphlpapi.c
index e0701a3..953bbc9 100644
--- a/dlls/iphlpapi/tests/iphlpapi.c
+++ b/dlls/iphlpapi/tests/iphlpapi.c
@@ -2067,8 +2067,6 @@ static void test_GetUnicastIpAddressEntry(void)
                 if (row.Address.si_family == AF_INET6)
                     ok(row.ScopeId.Value == row.Address.Ipv6.sin6_scope_id, "Expected %d, got %d\n",
                         row.Address.Ipv6.sin6_scope_id, row.ScopeId.Value);
-                else
-                    ok(row.ScopeId.Value == 0, "Expected 0, got %d\n", row.ScopeId.Value);
                 ok(row.CreationTimeStamp.QuadPart, "CreationTimeStamp is 0\n");
             }
             ua = ua->Next;




More information about the wine-cvs mailing list