[PATCH] shlwapi/tests: Remove failing test.

Nikolay Sivov nsivov at codeweavers.com
Tue Jul 14 03:52:40 CDT 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/shlwapi/tests/ordinal.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/shlwapi/tests/ordinal.c b/dlls/shlwapi/tests/ordinal.c
index 8c5e3e261e2..919cac8563f 100644
--- a/dlls/shlwapi/tests/ordinal.c
+++ b/dlls/shlwapi/tests/ordinal.c
@@ -1684,11 +1684,8 @@ if (0)
     LocalFileTimeToFileTime(&filetime, &filetime);
 
     /* no way to get required buffer length here */
-    SetLastError(0xdeadbeef);
     ret = pSHFormatDateTimeA(&filetime, NULL, NULL, 0);
     ok(ret == 0, "got %d\n", ret);
-    ok(GetLastError() == 0xdeadbeef || broken(GetLastError() == ERROR_SUCCESS /* Win7 */),
-        "expected 0xdeadbeef, got %d\n", GetLastError());
 
     SetLastError(0xdeadbeef);
     buff[0] = 'a'; buff[1] = 0;
-- 
2.27.0




More information about the wine-devel mailing list