Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
6e28fe71
Commit
6e28fe71
authored
Jun 02, 2004
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jun 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not fix the drive letter to 'C', it fails on other people's boxes.
parent
db78e091
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
path.c
dlls/kernel/tests/path.c
+4
-9
No files found.
dlls/kernel/tests/path.c
View file @
6e28fe71
...
...
@@ -725,17 +725,12 @@ static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive)
"GetFullPathNameA returned '%s' instead of '%s'
\n
"
,
tmpstr1
,
tmpstr
);
ok
(
lstrcmpiA
(
SHORTFILE
,
strptr
)
==
0
,
"GetFullPathNameA returned part '%s' instead of '%s'
\n
"
,
strptr
,
SHORTFILE
);
/* Windows will insert a drive letter in front of an absolute UNIX path, but
Wine probably shouldn't. */
/* Windows will insert a drive letter in front of an absolute UNIX path */
sprintf
(
tmpstr
,
"/%s/%s"
,
SHORTDIR
,
SHORTFILE
);
ok
(
GetFullPathNameA
(
tmpstr
,
MAX_PATH
,
tmpstr1
,
&
strptr
),
"GetFullPathNameA failed
\n
"
);
todo_wine
{
if
(
curDrive
!=
NOT_A_VALID_DRIVE
)
{
sprintf
(
tmpstr
,
"C:
\\
%s
\\
%s"
,
SHORTDIR
,
SHORTFILE
);
ok
(
lstrcmpiA
(
tmpstr
,
tmpstr1
)
==
0
,
"GetFullPathNameA returned '%s' instead of '%s'
\n
"
,
tmpstr1
,
tmpstr
);
}
}
sprintf
(
tmpstr
,
"%c:
\\
%s
\\
%s"
,
*
tmpstr1
,
SHORTDIR
,
SHORTFILE
);
ok
(
lstrcmpiA
(
tmpstr
,
tmpstr1
)
==
0
,
"GetFullPathNameA returned '%s' instead of '%s'
\n
"
,
tmpstr1
,
tmpstr
);
/* This passes in Wine because it still contains the pointer from the previous test */
ok
(
lstrcmpiA
(
SHORTFILE
,
strptr
)
==
0
,
"GetFullPathNameA returned part '%s' instead of '%s'
\n
"
,
strptr
,
SHORTFILE
);
...
...
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