Eric Pouech : kernel/tests: Check that we successfully open the console.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 22 07:07:36 CST 2005


Module: wine
Branch: refs/heads/master
Commit: 8218d91758dfc805a3fee2e9cb039df473fd7e2e
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=8218d91758dfc805a3fee2e9cb039df473fd7e2e

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Thu Dec 22 13:55:03 2005 +0100

kernel/tests: Check that we successfully open the console.

---

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

diff --git a/dlls/kernel/tests/console.c b/dlls/kernel/tests/console.c
index a7f3253..edd1eff 100644
--- a/dlls/kernel/tests/console.c
+++ b/dlls/kernel/tests/console.c
@@ -567,7 +567,7 @@ START_TEST(console)
 
     /* first, we detach and open a fresh console to play with */
     FreeConsole();
-    AllocConsole();
+    ok(AllocConsole(), "Couldn't alloc console\n");
     hConIn = CreateFileA("CONIN$", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, 0);
     hConOut = CreateFileA("CONOUT$", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, 0);
 
@@ -585,7 +585,6 @@ START_TEST(console)
     /* will test line scrolling at the bottom of the screen */
     /* testBottomScroll(); */
     /* will test all the scrolling operations */
-    /* this one is disabled for now, Wine's result are way too bad */
     testScroll(hConOut, sbi.dwSize);
     /* will test sb creation / modification... */
     /* testScreenBuffer() */




More information about the wine-cvs mailing list