[NTDLL_APITEST]

- Fix GCC build

svn path=/trunk/; revision=56412
This commit is contained in:
Thomas Faber 2012-04-25 07:57:50 +00:00
parent fb43dc26f7
commit 5eecc92cb2

View file

@ -146,8 +146,8 @@ START_TEST(RtlDetermineDosPathNameType)
{ L"/\\?", RtlPathTypeRootLocalDevice },
{ L"\\/?", RtlPathTypeRootLocalDevice },
{ L"//??", RtlPathTypeUncAbsolute },
{ L"//??/", RtlPathTypeUncAbsolute },
{ L"//??/C:/", RtlPathTypeUncAbsolute },
{ L"//?" L"?/", RtlPathTypeUncAbsolute },
{ L"//?" L"?/C:/", RtlPathTypeUncAbsolute },
{ L"//.", RtlPathTypeRootLocalDevice },
{ L"\\/.", RtlPathTypeRootLocalDevice },
{ L"/\\.", RtlPathTypeRootLocalDevice },
@ -180,8 +180,8 @@ START_TEST(RtlDetermineDosPathNameType)
RtlCopyMemory(FileName, Tests[i].FileName, Length + sizeof(UNICODE_NULL));
StartSeh()
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);
ok(PathType == Tests[i].PathType, "PathType is %d, expected %d for '%S'\n", PathType, Tests[i].PathType, Tests[i].FileName);
FreeGuarded(FileName);
if (RtlDetermineDosPathNameType_Ustr)
@ -195,8 +195,8 @@ START_TEST(RtlDetermineDosPathNameType)
PathString.MaximumLength = MAXUSHORT;
StartSeh()
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);
ok(PathType == Tests[i].PathType, "PathType is %d, expected %d for '%S'\n", PathType, Tests[i].PathType, Tests[i].FileName);
FreeGuarded(FileName);
}
}