Module: wine Branch: master Commit: 99deb5ca2c8e2d272a66c03b34d7c9cc1f8dbb6a URL: http://source.winehq.org/git/wine.git/?a=commit;h=99deb5ca2c8e2d272a66c03b34...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Tue Jun 24 19:09:57 2008 +0200
shlwapi/tests: Fix another test on Vista.
---
dlls/shlwapi/tests/path.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/shlwapi/tests/path.c b/dlls/shlwapi/tests/path.c index 6f55395..e6b6548 100644 --- a/dlls/shlwapi/tests/path.c +++ b/dlls/shlwapi/tests/path.c @@ -810,10 +810,8 @@ static void test_PathCanonicalizeA(void) ok(!res, "Expected failure\n"); ok(GetLastError() == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError()); - todo_wine - { - ok(!lstrcmp(dest, "test"), "Expected test, got %s\n", dest); - } + ok(dest[0] == 0 || !lstrcmp(dest, "test"), + "Expected either an empty string (Vista) or test, got %s\n", dest);
/* try an empty source */ lstrcpy(dest, "test");