From 5eecc92cb2e4ccf70f50fcd6646f3a0576958c09 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Wed, 25 Apr 2012 07:57:50 +0000 Subject: [PATCH] [NTDLL_APITEST] - Fix GCC build svn path=/trunk/; revision=56412 --- rostests/apitests/ntdll/RtlDetermineDosPathNameType.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c b/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c index 5dee20057e4..86a53f20d42 100644 --- a/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c +++ b/rostests/apitests/ntdll/RtlDetermineDosPathNameType.c @@ -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); } } -- 2.17.1