Zebediah Figura : qwave: Don't test the last error in the successful case.
Alexandre Julliard
julliard at winehq.org
Mon Oct 21 15:28:36 CDT 2019
Module: wine
Branch: master
Commit: 5cded9530870fc2c744fb89fdd6e1b1d63ea5e76
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5cded9530870fc2c744fb89fdd6e1b1d63ea5e76
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sat Oct 19 14:47:35 2019 -0500
qwave: Don't test the last error in the successful case.
On Windows 8 and above we may get ERROR_SERVICE_ALREADY_RUNNING.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
More information about the wine-cvs
mailing list