Commit 9e04cd31 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

ntdll/tests: Add tests for RtlGetFullPathName_U and RtlDosPathNameToNtPathName_U with mask.

parent 5c1f9012
......@@ -306,6 +306,9 @@ static void test_RtlGetFullPathName_U(void)
{ "c:/test../file", "c:\\test.\\file", "file",
"c:\\test..\\file", "file"}, /* vista */
{ "c:\\test", "c:\\test", "test"},
{ "c:\\test\\*.", "c:\\test\\*", "*"},
{ "c:\\test\\a*b.*", "c:\\test\\a*b.*", "a*b.*"},
{ "c:\\test\\a*b*.", "c:\\test\\a*b*", "a*b*"},
{ "C:\\test", "C:\\test", "test"},
{ "c:/", "c:\\", NULL},
{ "c:.", "C:\\windows", "windows"},
......@@ -441,6 +444,7 @@ static void test_RtlDosPathNameToNtPathName_U(void)
tests[] =
{
{L"c:\\", L"\\??\\c:\\", -1},
{L"c:\\test\\*.", L"\\??\\c:\\test\\*", 12},
{L"c:/", L"\\??\\c:\\", -1},
{L"c:/foo", L"\\??\\c:\\foo", 7},
{L"c:/foo.", L"\\??\\c:\\foo", 7},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment