mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[KERNEL32_WINETEST]
- Restore a ros-diff lost during wine sync. Should fix kernel32:volume crash - Better mark ros diffs in testlist.c and also bring it somewhat into sync svn path=/trunk/; revision=54003
This commit is contained in:
parent
37f8947178
commit
3f170e114a
2 changed files with 22 additions and 19 deletions
|
@ -1,15 +1,11 @@
|
|||
/* Automatically generated file; DO NOT EDIT!! */
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
#define STANDALONE
|
||||
#include "wine/test.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include <windows.h>
|
||||
|
||||
extern void func_actctx(void);
|
||||
extern void func_alloc(void);
|
||||
extern void func_atom(void);
|
||||
|
@ -17,18 +13,19 @@ extern void func_change(void);
|
|||
extern void func_codepage(void);
|
||||
extern void func_comm(void);
|
||||
extern void func_console(void);
|
||||
extern void func_debugger(void);
|
||||
extern void func_directory(void);
|
||||
extern void func_drive(void);
|
||||
extern void func_environ(void);
|
||||
extern void func_fiber(void);
|
||||
extern void func_file(void);
|
||||
extern void func_format_msg(void);
|
||||
extern void func_generated(void);
|
||||
extern void func_heap(void);
|
||||
extern void func_interlck(void);
|
||||
extern void func_locale(void);
|
||||
extern void func_loader(void);
|
||||
extern void func_module(void);
|
||||
extern void func_locale(void);
|
||||
extern void func_mailslot(void);
|
||||
extern void func_module(void);
|
||||
extern void func_path(void);
|
||||
extern void func_pipe(void);
|
||||
extern void func_process(void);
|
||||
|
@ -39,10 +36,12 @@ extern void func_thread(void);
|
|||
extern void func_time(void);
|
||||
extern void func_timer(void);
|
||||
extern void func_toolhelp(void);
|
||||
extern void func_virtual(void);
|
||||
extern void func_version(void);
|
||||
extern void func_virtual(void);
|
||||
extern void func_volume(void);
|
||||
/* ReactOS */
|
||||
extern void func_dosdev(void);
|
||||
extern void func_interlck(void);
|
||||
|
||||
const struct test winetest_testlist[] =
|
||||
{
|
||||
|
@ -53,19 +52,21 @@ const struct test winetest_testlist[] =
|
|||
{ "codepage", func_codepage },
|
||||
{ "comm", func_comm },
|
||||
{ "console", func_console },
|
||||
//{ "debbuger", func_debbuger },
|
||||
/* ReactOS */
|
||||
//{ "debugger", func_debugger },
|
||||
{ "directory", func_directory },
|
||||
{ "drive", func_drive },
|
||||
{ "environ", func_environ },
|
||||
{ "fiber", func_fiber },
|
||||
{ "fiber", func_fiber },
|
||||
{ "file", func_file },
|
||||
{ "format_msg", func_format_msg },
|
||||
/* ReactOS */
|
||||
//{ "generated", func_generated },
|
||||
{ "heap", func_heap },
|
||||
{ "interlck", func_interlck },
|
||||
{ "loader", func_loader },
|
||||
{ "locale", func_locale },
|
||||
{ "module", func_module },
|
||||
{ "mailslot", func_mailslot },
|
||||
{ "module", func_module },
|
||||
{ "path", func_path },
|
||||
{ "pipe", func_pipe },
|
||||
{ "process", func_process },
|
||||
|
@ -76,11 +77,11 @@ const struct test winetest_testlist[] =
|
|||
{ "time", func_time },
|
||||
{ "timer", func_timer },
|
||||
{ "toolhelp", func_toolhelp },
|
||||
{ "virtual", func_virtual },
|
||||
{ "version", func_version },
|
||||
{ "virtual", func_virtual },
|
||||
{ "volume", func_volume },
|
||||
/* ReactOS */
|
||||
{ "dosdev", func_dosdev },
|
||||
{ "interlck", func_interlck },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -519,7 +519,8 @@ static void test_enum_vols(void)
|
|||
hFind = pFindFirstVolumeA( Volume_2, MAX_PATH );
|
||||
ok(hFind != INVALID_HANDLE_VALUE, "FindFirstVolume failed, err=%u\n",
|
||||
GetLastError());
|
||||
|
||||
/* ReactOS */
|
||||
if (hFind != INVALID_HANDLE_VALUE) {
|
||||
do
|
||||
{
|
||||
/* validate correct length of unique volume name */
|
||||
|
@ -532,6 +533,7 @@ static void test_enum_vols(void)
|
|||
} while (pFindNextVolumeA( hFind, Volume_2, MAX_PATH ));
|
||||
ok(found, "volume name %s not found by Find[First/Next]Volume\n", Volume_1);
|
||||
pFindVolumeClose( hFind );
|
||||
}
|
||||
}
|
||||
|
||||
static void test_disk_extents(void)
|
||||
|
|
Loading…
Reference in a new issue