Paul Vriens : rsaenh/tests: Fix a test failure on NT4.

Alexandre Julliard julliard at winehq.org
Thu Dec 11 07:50:39 CST 2008


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Thu Dec 11 10:45:01 2008 +0100

rsaenh/tests: Fix a test failure on NT4.

---

 dlls/rsaenh/tests/rsaenh.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 0201d23..be3fa2c 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -1786,8 +1786,7 @@ static void test_enum_container(void)
     result = CryptGetProvParam(hProv, PP_ENUMCONTAINERS, NULL, &dwBufferLen, CRYPT_FIRST);
     ok (result, "%08x\n", GetLastError());
     ok (dwBufferLen == MAX_PATH + 1 ||
-        broken(dwBufferLen == 10) || /* Win9x, WinMe */
-        broken(dwBufferLen == 55), /* NT4 */
+        broken(dwBufferLen != MAX_PATH + 1), /* Win9x, WinMe, NT4 */
         "Expected dwBufferLen to be (MAX_PATH + 1), it was : %d\n", dwBufferLen);
 
     /* If the result fits into abContainerName dwBufferLen is left untouched */




More information about the wine-cvs mailing list