From 83af2eec506c65ba4802eab984998aeacede8c67 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 4 Nov 2016 13:29:29 +0100 Subject: [PATCH] netapi32/tests: Fix a test failure on Windows 7. Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/netapi32/tests/access.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/netapi32/tests/access.c b/dlls/netapi32/tests/access.c index f44a6d3d439..f095d773201 100644 --- a/dlls/netapi32/tests/access.c +++ b/dlls/netapi32/tests/access.c @@ -558,7 +558,7 @@ static void test_DavGetUNCFromHTTPPath(void) static const WCHAR path2[] = {'h','t','t','p',':','/','/','s','e','r','v','e','r','/','p','a','t','h',0}; static const WCHAR path3[] = - {'h','t','t','p','s',':','/','/','s','e','r','v','e','r','/','p','a','t','h',0}; + {'h','t','t','p','s',':','/','/','h','o','s','t','/','p','a','t','h',0}; static const WCHAR path4[] = {'\\','\\','s','e','r','v','e','r',0}; static const WCHAR path5[] = @@ -598,7 +598,7 @@ static void test_DavGetUNCFromHTTPPath(void) static const WCHAR result[] = {'\\','\\','s','e','r','v','e','r','\\','D','a','v','W','W','W','R','o','o','t','\\','p','a','t','h',0}; static const WCHAR result2[] = - {'\\','\\','s','e','r','v','e','r','@','S','S','L','\\','D','a','v','W','W','W','R','o','o','t','\\', + {'\\','\\','h','o','s','t','@','S','S','L','\\','D','a','v','W','W','W','R','o','o','t','\\', 'p','a','t','h',0}; static const WCHAR result3[] = {'\\','\\','s','e','r','v','e','r','\\','D','a','v','W','W','W','R','o','o','t',0}; @@ -626,7 +626,7 @@ static void test_DavGetUNCFromHTTPPath(void) { { path, MAX_PATH, ERROR_INVALID_PARAMETER, NULL, MAX_PATH }, { path2, MAX_PATH, ERROR_SUCCESS, result, 25 }, - { path3, MAX_PATH, ERROR_SUCCESS, result2, 29 }, + { path3, MAX_PATH, ERROR_SUCCESS, result2, 27 }, { path4, MAX_PATH, ERROR_INVALID_PARAMETER, NULL, MAX_PATH }, { path5, MAX_PATH, ERROR_INVALID_PARAMETER, NULL, MAX_PATH }, { path6, MAX_PATH, ERROR_INVALID_PARAMETER, NULL, MAX_PATH },