Author: tfaber Date: Mon Apr 22 19:09:12 2013 New Revision: 58832
URL: http://svn.reactos.org/svn/reactos?rev=58832&view=rev Log: [NTDLL_APITEST] - Add test cases showing that RtlDosPathNameToNtPathName_U strips trailing dots
Modified: trunk/rostests/apitests/ntdll/RtlDosPathNameToNtPathName_U.c
Modified: trunk/rostests/apitests/ntdll/RtlDosPathNameToNtPathName_U.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/RtlDosPathN... ============================================================================== --- trunk/rostests/apitests/ntdll/RtlDosPathNameToNtPathName_U.c [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/RtlDosPathNameToNtPathName_U.c [iso-8859-1] Mon Apr 22 19:09:12 2013 @@ -395,6 +395,9 @@ 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");