Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4e044ff0
Commit
4e044ff0
authored
Mar 05, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add more tests for DOS to NT path conversion.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ef7283a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
path.c
dlls/ntdll/tests/path.c
+11
-0
No files found.
dlls/ntdll/tests/path.c
View file @
4e044ff0
...
...
@@ -426,6 +426,7 @@ static void test_RtlDosPathNameToNtPathName_U(void)
{
L"c:foo/bar"
,
L"
\\
??
\\
C:
\\
windows
\\
foo
\\
bar"
,
19
},
{
L"c:./foo"
,
L"
\\
??
\\
C:
\\
windows
\\
foo"
,
15
},
{
L"c:/./foo"
,
L"
\\
??
\\
c:
\\
foo"
,
7
},
{
L"c:/.."
,
L"
\\
??
\\
c:
\\
"
,
-
1
},
{
L"c:/foo/."
,
L"
\\
??
\\
c:
\\
foo"
,
7
},
{
L"c:/foo/./bar"
,
L"
\\
??
\\
c:
\\
foo
\\
bar"
,
11
},
{
L"c:/foo/../bar"
,
L"
\\
??
\\
c:
\\
bar"
,
7
},
...
...
@@ -440,6 +441,7 @@ static void test_RtlDosPathNameToNtPathName_U(void)
{
L"AUX"
,
L"
\\
??
\\
AUX"
,
-
1
},
{
L"COM1"
,
L"
\\
??
\\
COM1"
,
-
1
},
{
L"?<>*
\"
|:"
,
L"
\\
??
\\
C:
\\
windows
\\
?<>*
\"
|:"
,
15
},
{
L"?:"
,
L"
\\
??
\\
?:
\\
"
,
-
1
},
{
L"
\\\\
foo"
,
L"
\\
??
\\
UNC
\\
foo"
,
-
1
},
{
L"//foo"
,
L"
\\
??
\\
UNC
\\
foo"
,
-
1
},
...
...
@@ -465,6 +467,15 @@ static void test_RtlDosPathNameToNtPathName_U(void)
{
L"//?/foo/."
,
L"
\\
??
\\
foo"
,
4
},
{
L"//?/foo/.."
,
L"
\\
??
\\
"
,
-
1
},
{
L"
\\\\
."
,
L"
\\
??
\\
"
,
-
1
},
{
L"
\\\\
.
\\
"
,
L"
\\
??
\\
"
,
-
1
},
{
L"
\\\\
.
\\
/"
,
L"
\\
??
\\
"
,
-
1
},
{
L"
\\\\
.
\\
foo"
,
L"
\\
??
\\
foo"
,
4
},
{
L"
\\\\
.
\\
foo/"
,
L"
\\
??
\\
foo
\\
"
,
-
1
},
{
L"
\\\\
.
\\
foo/bar"
,
L"
\\
??
\\
foo
\\
bar"
,
8
},
{
L"
\\\\
.
\\
foo/."
,
L"
\\
??
\\
foo"
,
4
},
{
L"
\\\\
.
\\
foo/.."
,
L"
\\
??
\\
"
,
-
1
},
{
L"
\\\\
?"
,
L"
\\
??
\\
"
,
-
1
},
{
L"
\\\\
?
\\
"
,
L"
\\
??
\\
"
,
-
1
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment