[NTDLL_APITEST]

- Add test cases showing that RtlDosPathNameToNtPathName_U strips trailing dots

svn path=/trunk/; revision=58832
This commit is contained in:
Thomas Faber 2013-04-22 19:09:12 +00:00
parent 3c3d41fec8
commit 4517988f68

View file

@ -395,6 +395,9 @@ int main()
test(PREP0 "C:\\foo\\..\\" , "C:\\" , NULL);
test(PREP1 "C:\\foo\\..\\" , "C:\\" , NULL);
test(PREP2 "C:\\foo\\..\\" , "C:\\foo\\..\\" , NULL);
test(PREP0 "C:\\foo." , "C:\\foo" , "foo");
test(PREP1 "C:\\foo." , "C:\\foo" , "foo");
test(PREP2 "C:\\foo." , "C:\\foo." , "foo.");
test(PREP0 "C:\\f\\b\\.." , "C:\\f" , "f");
test(PREP1 "C:\\f\\b\\.." , "C:\\f" , "f");