[kernel32/tests 2/3] Moved ok-statement to the appropriate place

Paul Vriens paul.vriens.wine at gmail.com
Sat Dec 30 13:19:07 CST 2006


Hi,

this ok statement is moved to the appropriate place (and surrounded by a
todo_wine).

Changelog
  Moved ok-statement to the appropriate place

Cheers,

Paul.
---
 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);
-- 
1.4.4.3




More information about the wine-patches mailing list