[NTFS]
[reactos.git] / rostests / apitests / crt / _vscprintf.c
index c3717ab..cc8481e 100644 (file)
@@ -4,9 +4,11 @@
  * PURPOSE:         Test for _vscprintf
  */
 
+#include <apitest.h>
+
 #include <stdio.h>
-#include <wine/test.h>
 #include <tchar.h>
+#include <errno.h>
 
 static void call_varargs(int expected_ret, LPCSTR formatString, ...)
 {
@@ -24,6 +26,6 @@ START_TEST(_vscprintf)
     call_varargs(12, "%S world!", L"hello");
     call_varargs(12, "%s world!", "hello");
     call_varargs(11, "%u cookies", 100);
-    /* Test NULL argument */
-    call_varargs(-1, NULL);
+    /* Do not test NULL argument. That is verified to SEGV on a */
+    /* release-build with VC10 and MS' msvcrt. */
 }