Author: tfaber Date: Tue Apr 21 10:50:12 2015 New Revision: 67334
URL: http://svn.reactos.org/svn/reactos?rev=67334&view=rev Log: [NTDLL_APITEST] - Add some more tests for RtlDoesFileExists_*, in particular passing NT paths CORE-9523
Modified: trunk/rostests/apitests/ntdll/RtlDoesFileExists.c
Modified: trunk/rostests/apitests/ntdll/RtlDoesFileExists.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/RtlDoesFile... ============================================================================== --- trunk/rostests/apitests/ntdll/RtlDoesFileExists.c [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/RtlDoesFileExists.c [iso-8859-1] Tue Apr 21 10:50:12 2015 @@ -139,6 +139,7 @@ { L"C:\/\%ls", TRUE }, { L"C:\%ls\", TRUE }, { L"C:\%ls\ThisFolderExists", TRUE }, + { L"C:\%ls\ThisFolderExists\", TRUE }, { L"C:\%ls\ThisFolderExists ", TRUE }, { L"C:\%ls\ThisFolderExists ", TRUE }, { L"C:\%ls\ThisFolderExists ", TRUE }, @@ -170,6 +171,13 @@ { L"NUL", FALSE }, { L"CON", FALSE }, { L"COM1", FALSE }, + { L"\?", FALSE }, + { L"\??", FALSE }, + { L"\??\", FALSE }, + { L"\??\C", FALSE }, + { L"\??\C:", FALSE }, + { L"\??\C:\", FALSE }, // TRUE on Win7 + { L"\??\C:\%ls\ThisFolderExists", FALSE }, // TRUE on Win7 }; ULONG i; WCHAR FileName[MAX_PATH];