[PATCH] Fix a test failure on NT4 and W2K
Paul Vriens
Paul.Vriens.Wine at gmail.com
Mon Dec 22 12:42:46 CST 2008
---
dlls/winmm/tests/mixer.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/winmm/tests/mixer.c b/dlls/winmm/tests/mixer.c
index 6951621..472baa6 100644
--- a/dlls/winmm/tests/mixer.c
+++ b/dlls/winmm/tests/mixer.c
@@ -1016,8 +1016,9 @@ static void test_mixerOpen()
mmsys_error(rc));
rc = mixerOpen(&mix, -1, 0, 0, 0);
- ok(rc == MMSYSERR_BADDEVICEID,
- "mixerOpen: MMSYSERR_BADDEVICEID expected, got %s\n",
+ ok(rc == MMSYSERR_BADDEVICEID ||
+ rc == MMSYSERR_INVALHANDLE, /* NT4/W2K */
+ "mixerOpen: MMSYSERR_BADDEVICEID or MMSYSERR_INVALHANDLE expected, got %s\n",
mmsys_error(rc));
for (d = 0; d < ndev; d++) {
--
1.6.0.6
--------------030800040708070103040604--
More information about the wine-patches
mailing list