[PATCH] qwave: Don't test the last error in the successful case.
Zebediah Figura
z.figura12 at gmail.com
Sat Oct 19 14:47:35 CDT 2019
On Windows 8 and above we may get ERROR_SERVICE_ALREADY_RUNNING.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/qwave/tests/qos.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/qwave/tests/qos.c b/dlls/qwave/tests/qos.c
index 5cb3e53996..10a32f7495 100644
--- a/dlls/qwave/tests/qos.c
+++ b/dlls/qwave/tests/qos.c
@@ -44,12 +44,10 @@ static void test_QOSCreateHandle(void)
ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
ok(GetLastError() == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
- SetLastError(0xdeadbeef);
ver.MajorVersion = 1;
ver.MinorVersion = 0;
ret = QOSCreateHandle(&ver, &h);
todo_wine ok(ret == TRUE, "Expected TRUE, got %d\n", ret);
- todo_wine ok(GetLastError() == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", GetLastError());
SetLastError(0xdeadbeef);
ver.MajorVersion = 1;
--
2.20.1
More information about the wine-devel
mailing list