Paul Vriens : kernel32/tests: Moved ok-statement to the appropriate place.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 2 06:45:50 CST 2007


Module: wine
Branch: master
Commit: 85b52e5693c5ee6508c06bcbc14f67e091aeb7e3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=85b52e5693c5ee6508c06bcbc14f67e091aeb7e3

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Sat Dec 30 20:19:07 2006 +0100

kernel32/tests: Moved ok-statement to the appropriate place.

---

 dlls/kernel32/tests/thread.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c
index b51bb57..42e649b 100644
--- a/dlls/kernel32/tests/thread.c
+++ b/dlls/kernel32/tests/thread.c
@@ -469,6 +469,9 @@ static VOID test_thread_priority(void)
    if (rc==0 && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
      return; /* WinME */
 
+   todo_wine
+     ok(rc!=0,"error=%d\n",GetLastError());
+
 /* check that access control is obeyed */
    access_thread=pOpenThread(THREAD_ALL_ACCESS &
                      (~THREAD_QUERY_INFORMATION) & (~THREAD_SET_INFORMATION),
@@ -481,8 +484,6 @@ static VOID test_thread_priority(void)
    }
 
    todo_wine {
-     ok(rc!=0,"error=%d\n",GetLastError());
-
      rc = pSetThreadPriorityBoost(curthread,1);
      ok( rc != 0, "error=%d\n",GetLastError());
      rc=pGetThreadPriorityBoost(curthread,&disabled);




More information about the wine-cvs mailing list