Paul Vriens : mshtml/tests: Don't fail on unimplemented function.
Alexandre Julliard
julliard at winehq.org
Fri Aug 1 05:33:44 CDT 2008
Module: wine
Branch: master
Commit: 5e0384ab6a1e5302591d0ddac866853ef2b0612e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5e0384ab6a1e5302591d0ddac866853ef2b0612e
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Thu Jul 31 19:18:35 2008 +0200
mshtml/tests: Don't fail on unimplemented function.
---
dlls/mshtml/tests/protocol.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c
index 4e8b3d0..b17028f 100644
--- a/dlls/mshtml/tests/protocol.c
+++ b/dlls/mshtml/tests/protocol.c
@@ -266,9 +266,13 @@ static void res_sec_url_cmp(LPCWSTR url, DWORD size, LPCWSTR file)
return;
}
+ SetLastError(0xdeadbeef);
len = SearchPathW(NULL, file, NULL, sizeof(buf)/sizeof(WCHAR), buf, NULL);
if(!len) {
- ok(0, "SearchPath failed: %u\n", GetLastError());
+ if (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
+ win_skip("SearchPathW is not implemented\n");
+ else
+ ok(0, "SearchPath failed: %u\n", GetLastError());
return;
}
More information about the wine-cvs
mailing list