netapi32/tests: Use win_skip() to skip over unimplemented functionality.

Francois Gouget fgouget at free.fr
Mon Feb 23 03:42:43 CST 2009


---
 dlls/netapi32/tests/access.c |    4 ++--
 dlls/netapi32/tests/apibuf.c |    2 +-
 dlls/netapi32/tests/ds.c     |    2 +-
 dlls/netapi32/tests/wksta.c  |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/netapi32/tests/access.c b/dlls/netapi32/tests/access.c
index 301cd19..8c39a18 100644
--- a/dlls/netapi32/tests/access.c
+++ b/dlls/netapi32/tests/access.c
@@ -74,7 +74,7 @@ static int init_access_tests(void)
     rc=GetUserNameW(user_name, &dwSize);
     if (rc==FALSE && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED)
     {
-        skip("GetUserNameW is not available.\n");
+        win_skip("GetUserNameW is not available.\n");
         return 0;
     }
     ok(rc, "User Name Retrieved\n");
@@ -333,7 +333,7 @@ START_TEST(access)
      * if one is not available, none are.
      */
     if (!pNetApiBufferFree) {
-        skip("Needed functions are not available\n");
+        win_skip("Needed functions are not available\n");
         FreeLibrary(hnetapi32);
         return;
     }
diff --git a/dlls/netapi32/tests/apibuf.c b/dlls/netapi32/tests/apibuf.c
index fa29fc4..2438ecd 100644
--- a/dlls/netapi32/tests/apibuf.c
+++ b/dlls/netapi32/tests/apibuf.c
@@ -98,7 +98,7 @@ START_TEST(apibuf)
     if (pNetApiBufferAllocate && pNetApiBufferFree && pNetApiBufferReallocate && pNetApiBufferSize)
         run_apibuf_tests();
     else
-        skip("Needed functions are not available\n");
+        win_skip("Needed functions are not available\n");
 
     FreeLibrary(hnetapi32);
 }
diff --git a/dlls/netapi32/tests/ds.c b/dlls/netapi32/tests/ds.c
index 277a589..be9597d 100644
--- a/dlls/netapi32/tests/ds.c
+++ b/dlls/netapi32/tests/ds.c
@@ -87,7 +87,7 @@ START_TEST(ds)
         test_get();
     }
     else
-        skip("DsRoleGetPrimaryDomainInformation is not available\n");
+        win_skip("DsRoleGetPrimaryDomainInformation is not available\n");
 
     FreeLibrary(hnetapi32);
 }
diff --git a/dlls/netapi32/tests/wksta.c b/dlls/netapi32/tests/wksta.c
index b4994f8..e0c16d3 100644
--- a/dlls/netapi32/tests/wksta.c
+++ b/dlls/netapi32/tests/wksta.c
@@ -51,7 +51,7 @@ static int init_wksta_tests(void)
     dwSize = sizeof(user_name)/sizeof(user_name[0]);
     rc=GetUserNameW(user_name, &dwSize);
     if (rc==FALSE && GetLastError()==ERROR_CALL_NOT_IMPLEMENTED) {
-        skip("GetUserNameW is not implemented\n");
+        win_skip("GetUserNameW is not implemented\n");
         return 0;
     }
     ok(rc, "User Name Retrieved\n");
@@ -192,7 +192,7 @@ START_TEST(wksta)
      * if one is not available, none are.
      */
     if (!pNetApiBufferFree) {
-        skip("Needed functions are not available\n");
+        win_skip("Needed functions are not available\n");
         FreeLibrary(hnetapi32);
         return;
     }
-- 
1.5.6.5




More information about the wine-patches mailing list