Module: wine Branch: master Commit: 83af2eec506c65ba4802eab984998aeacede8c67 URL: http://source.winehq.org/git/wine.git/?a=commit;h=83af2eec506c65ba4802eab984...
Author: Hans Leidekker hans@codeweavers.com Date: Fri Nov 4 13:29:29 2016 +0100
netapi32/tests: Fix a test failure on Windows 7.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 f44a6d3..f095d77 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 },