msvcrt/tests: Wine should not have trouble with the environ pointers so replace a few skip()s with win_skip()s.
Francois Gouget
fgouget at free.fr
Thu Mar 31 06:06:23 CDT 2011
---
Note that we should not use a win_skip() if the condition has been
tested with ok() before which is why there's still quite a few of them.
Hopefully I did not miss some other obscure reason for not using
win_skip().
dlls/msvcrt/tests/environ.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/tests/environ.c b/dlls/msvcrt/tests/environ.c
index 9e1263a..fdfe81f 100644
--- a/dlls/msvcrt/tests/environ.c
+++ b/dlls/msvcrt/tests/environ.c
@@ -93,7 +93,7 @@ static void test__environ(void)
"Expected _environ pointers to be identical\n" );
}
else
- skip( "__p__environ() is not available\n" );
+ win_skip( "__p__environ() is not available\n" );
/* Note that msvcrt from Windows versions older than Vista
* expects the mode pointer parameter to be valid.*/
@@ -138,7 +138,7 @@ static void test__wenviron(void)
ok( *p_wenviron == NULL, "Expected _wenviron to be NULL, got %p\n", *p_wenviron );
else
{
- skip( "Pointer to _wenviron is not valid\n" );
+ win_skip( "Pointer to _wenviron is not valid\n" );
return;
}
@@ -149,7 +149,7 @@ static void test__wenviron(void)
"Expected _wenviron pointers to be NULL\n" );
}
else
- skip( "__p__wenviron() is not available\n" );
+ win_skip( "__p__wenviron() is not available\n" );
/* __getmainargs doesn't initialize _wenviron. */
__getmainargs(&argc, &argv, &envp, 0, &mode);
--
1.7.4.1
More information about the wine-patches
mailing list