Huw Davies : rpcrt4/tests: Mark Win 8.1 behaviour of UuidCreateSequential( ) as broken.

Alexandre Julliard julliard at winehq.org
Fri Sep 2 11:41:43 CDT 2016


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu Sep  1 17:08:00 2016 +0100

rpcrt4/tests: Mark Win 8.1 behaviour of UuidCreateSequential() as broken.

Some versions of Win 8.1 provide a randomised node ID (with the
multicast bit set) but return S_OK instead of RPC_S_UUID_LOCAL_ONLY.
This is despite having access to a valid MAC address.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/rpcrt4/tests/rpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c
index 23b9e36..3f6cf91 100644
--- a/dlls/rpcrt4/tests/rpc.c
+++ b/dlls/rpcrt4/tests/rpc.c
@@ -809,7 +809,7 @@ static void test_UuidCreateSequential(void)
             /* If the call succeeded, there's a valid (non-multicast) MAC
              * address in the uuid:
              */
-            ok(!(guid1.Data4[2] & 0x01),
+            ok(!(guid1.Data4[2] & 0x01) || broken(guid1.Data4[2] & 0x01), /* Win 8.1 */
                "GUID does not appear to contain a MAC address: %s\n",
                wine_dbgstr_guid(&guid1));
         }




More information about the wine-cvs mailing list