mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[SETUPAPI_WINETEST]: Temporarily "hackfix" the test so that it uses a more "suitable" test path.
ROSTESTS-234 svn path=/trunk/; revision=72020
This commit is contained in:
parent
9c749a7606
commit
1044e92a20
1 changed files with 12 additions and 2 deletions
|
@ -32,7 +32,12 @@
|
||||||
|
|
||||||
static void test_SetupPromptForDiskA(void)
|
static void test_SetupPromptForDiskA(void)
|
||||||
{
|
{
|
||||||
char path[] = "C:\\windows\\system32";
|
#ifndef ROSTESTS_234_IS_FIXED
|
||||||
|
// char path[] = "C:\\windows\\system32";
|
||||||
|
char path[] = "C:\\ReactOS\\system32";
|
||||||
|
#else
|
||||||
|
#error "path should use GetSystemDirectoryA()"
|
||||||
|
#endif
|
||||||
char file[] = "kernel32.dll";
|
char file[] = "kernel32.dll";
|
||||||
char buffer[MAX_PATH];
|
char buffer[MAX_PATH];
|
||||||
UINT ret;
|
UINT ret;
|
||||||
|
@ -66,7 +71,12 @@ static void test_SetupPromptForDiskA(void)
|
||||||
|
|
||||||
static void test_SetupPromptForDiskW(void)
|
static void test_SetupPromptForDiskW(void)
|
||||||
{
|
{
|
||||||
WCHAR path[] = {'C',':','\\','w','i','n','d','o','w','s','\\','s','y','s','t','e','m','3','2','\0'};
|
#ifndef ROSTESTS_234_IS_FIXED
|
||||||
|
// WCHAR path[] = {'C',':','\\','w','i','n','d','o','w','s','\\','s','y','s','t','e','m','3','2','\0'};
|
||||||
|
WCHAR path[] = {'C',':','\\','R','e','a','c','t','O','S','\\','s','y','s','t','e','m','3','2','\0'};
|
||||||
|
#else
|
||||||
|
#error "path should use GetSystemDirectoryW()"
|
||||||
|
#endif
|
||||||
WCHAR file[] = {'k','e','r','n','e','l','3','2','.','d','l','l','\0'};
|
WCHAR file[] = {'k','e','r','n','e','l','3','2','.','d','l','l','\0'};
|
||||||
WCHAR title[] = {'T','e','s','t','\0'};
|
WCHAR title[] = {'T','e','s','t','\0'};
|
||||||
WCHAR disk[] = {'T','e','s','t','d','i','s','k','\0'};
|
WCHAR disk[] = {'T','e','s','t','d','i','s','k','\0'};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue