34#define DIR_3 s_win_dir
35#define DIR_4 "(invalid)"
175 "Line %u: result expected '%s', got '%s'\n",
185 skip(
"Don't use this program at root directory\n");
203 skip(
"Cannot copy test files to the system root directory. (Error: %lu)\n",
GetLastError());
213 skip(
"Cannot copy test files to the system directory. (Error: %lu)\n",
GetLastError());
static char s_win_dir[MAX_PATH]
static char s_win_txt_file[MAX_PATH]
static char s_win_bat_file[MAX_PATH]
static void DoTestEntry(const TEST_ENTRY *pEntry)
static const TEST_ENTRY s_entries[]
static char s_win_test_exe[MAX_PATH]
static char s_sys_bat_file[MAX_PATH]
static char s_sys_txt_file[MAX_PATH]
static char s_win_notepad[MAX_PATH]
static char s_sys_test_exe[MAX_PATH]
struct TEST_ENTRY TEST_ENTRY
static char s_sys_notepad[MAX_PATH]
#define ok_int(expression, result)
#define FILE_ATTRIBUTE_NORMAL
BOOL WINAPI CopyFileA(IN LPCSTR lpExistingFileName, IN LPCSTR lpNewFileName, IN BOOL bFailIfExists)
BOOL WINAPI DeleteFileA(IN LPCSTR lpFileName)
BOOL WINAPI SetFileAttributesA(LPCSTR lpFileName, DWORD dwFileAttributes)
DWORD WINAPI GetCurrentDirectoryA(IN DWORD nBufferLength, OUT LPSTR lpBuffer)
UINT WINAPI GetWindowsDirectoryA(OUT LPSTR lpBuffer, IN UINT uSize)
DWORD WINAPI GetLongPathNameA(IN LPCSTR lpszShortPath, OUT LPSTR lpszLongPath, IN DWORD cchBuffer)
UINT WINAPI GetSystemDirectoryA(OUT LPSTR lpBuffer, IN UINT uSize)
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
BOOL WINAPI PathIsRootA(const char *path)
BOOL WINAPI PathFileExistsA(const char *path)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
unsigned __int3264 UINT_PTR
HINSTANCE WINAPI FindExecutableA(LPCSTR lpFile, LPCSTR lpDirectory, LPSTR lpResult)
DWORD WINAPI GetLastError(void)