mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +00:00
[NTDLL_APITEST]
- Fix GCC build svn path=/trunk/; revision=56412
This commit is contained in:
parent
fb43dc26f7
commit
5eecc92cb2
1 changed files with 4 additions and 4 deletions
|
@ -146,8 +146,8 @@ START_TEST(RtlDetermineDosPathNameType)
|
||||||
{ L"/\\?", RtlPathTypeRootLocalDevice },
|
{ L"/\\?", RtlPathTypeRootLocalDevice },
|
||||||
{ L"\\/?", RtlPathTypeRootLocalDevice },
|
{ L"\\/?", RtlPathTypeRootLocalDevice },
|
||||||
{ L"//??", RtlPathTypeUncAbsolute },
|
{ L"//??", RtlPathTypeUncAbsolute },
|
||||||
{ L"//??/", RtlPathTypeUncAbsolute },
|
{ L"//?" L"?/", RtlPathTypeUncAbsolute },
|
||||||
{ L"//??/C:/", RtlPathTypeUncAbsolute },
|
{ L"//?" L"?/C:/", RtlPathTypeUncAbsolute },
|
||||||
{ L"//.", RtlPathTypeRootLocalDevice },
|
{ L"//.", RtlPathTypeRootLocalDevice },
|
||||||
{ L"\\/.", RtlPathTypeRootLocalDevice },
|
{ L"\\/.", RtlPathTypeRootLocalDevice },
|
||||||
{ L"/\\.", RtlPathTypeRootLocalDevice },
|
{ L"/\\.", RtlPathTypeRootLocalDevice },
|
||||||
|
@ -180,8 +180,8 @@ START_TEST(RtlDetermineDosPathNameType)
|
||||||
RtlCopyMemory(FileName, Tests[i].FileName, Length + sizeof(UNICODE_NULL));
|
RtlCopyMemory(FileName, Tests[i].FileName, Length + sizeof(UNICODE_NULL));
|
||||||
StartSeh()
|
StartSeh()
|
||||||
PathType = RtlDetermineDosPathNameType_U(FileName);
|
PathType = RtlDetermineDosPathNameType_U(FileName);
|
||||||
|
ok(PathType == Tests[i].PathType, "PathType is %d, expected %d for '%S'\n", PathType, Tests[i].PathType, Tests[i].FileName);
|
||||||
EndSeh(STATUS_SUCCESS);
|
EndSeh(STATUS_SUCCESS);
|
||||||
ok(PathType == Tests[i].PathType, "PathType is %d, expected %d for '%S'\n", PathType, Tests[i].PathType, Tests[i].FileName);
|
|
||||||
FreeGuarded(FileName);
|
FreeGuarded(FileName);
|
||||||
|
|
||||||
if (RtlDetermineDosPathNameType_Ustr)
|
if (RtlDetermineDosPathNameType_Ustr)
|
||||||
|
@ -195,8 +195,8 @@ START_TEST(RtlDetermineDosPathNameType)
|
||||||
PathString.MaximumLength = MAXUSHORT;
|
PathString.MaximumLength = MAXUSHORT;
|
||||||
StartSeh()
|
StartSeh()
|
||||||
PathType = RtlDetermineDosPathNameType_Ustr(&PathString);
|
PathType = RtlDetermineDosPathNameType_Ustr(&PathString);
|
||||||
|
ok(PathType == Tests[i].PathType, "PathType is %d, expected %d for '%S'\n", PathType, Tests[i].PathType, Tests[i].FileName);
|
||||||
EndSeh(STATUS_SUCCESS);
|
EndSeh(STATUS_SUCCESS);
|
||||||
ok(PathType == Tests[i].PathType, "PathType is %d, expected %d for '%S'\n", PathType, Tests[i].PathType, Tests[i].FileName);
|
|
||||||
FreeGuarded(FileName);
|
FreeGuarded(FileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue