Author: tfaber Date: Wed Apr 25 07:57:50 2012 New Revision: 56412
URL: http://svn.reactos.org/svn/reactos?rev=56412&view=rev Log: [NTDLL_APITEST] - Fix GCC build
Modified: trunk/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c
Modified: trunk/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/RtlDetermin... ============================================================================== --- trunk/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c [iso-8859-1] Wed Apr 25 07:57:50 2012 @@ -146,8 +146,8 @@ { 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 @@ 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 @@ 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); } }