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
ec7ebd35
Commit
ec7ebd35
authored
Aug 01, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun: Fix IFileSystem3::GetAbsolutePathName tests failures.
parent
12d37412
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
filesystem.c
dlls/scrrun/tests/filesystem.c
+7
-6
No files found.
dlls/scrrun/tests/filesystem.c
View file @
ec7ebd35
...
...
@@ -401,7 +401,7 @@ static void test_GetAbsolutePathName(void)
WIN32_FIND_DATAW
fdata
;
HANDLE
find
;
WCHAR
buf
[
MAX_PATH
];
WCHAR
buf
[
MAX_PATH
]
,
buf2
[
MAX_PATH
]
;
BSTR
path
,
result
;
HRESULT
hr
;
...
...
@@ -424,22 +424,23 @@ static void test_GetAbsolutePathName(void)
path
=
SysAllocString
(
dir_match1
);
hr
=
IFileSystem3_GetAbsolutePathName
(
fs3
,
path
,
&
result
);
ok
(
hr
==
S_OK
,
"GetAbsolutePathName returned %x, expected S_OK
\n
"
,
hr
);
GetFullPathNameW
(
dir_match1
,
MAX_PATH
,
buf
,
NULL
);
ok
(
!
lstrcmpW
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
GetFullPathNameW
(
dir_match1
,
MAX_PATH
,
buf
2
,
NULL
);
ok
(
!
lstrcmpW
(
buf
2
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf2
));
SysFreeString
(
result
);
ok
(
CreateDirectoryW
(
dir1
,
NULL
),
"CreateDirectory(%s) failed
\n
"
,
wine_dbgstr_w
(
dir1
));
hr
=
IFileSystem3_GetAbsolutePathName
(
fs3
,
path
,
&
result
);
ok
(
hr
==
S_OK
,
"GetAbsolutePathName returned %x, expected S_OK
\n
"
,
hr
);
GetFullPathNameW
(
dir1
,
MAX_PATH
,
buf
,
NULL
);
ok
(
!
lstrcmpW
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
ok
(
!
lstrcmpW
(
buf
,
result
)
||
broken
(
!
lstrcmpW
(
buf2
,
result
)),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
SysFreeString
(
result
);
ok
(
CreateDirectoryW
(
dir2
,
NULL
),
"CreateDirectory(%s) failed
\n
"
,
wine_dbgstr_w
(
dir2
));
hr
=
IFileSystem3_GetAbsolutePathName
(
fs3
,
path
,
&
result
);
ok
(
hr
==
S_OK
,
"GetAbsolutePathName returned %x, expected S_OK
\n
"
,
hr
);
if
(
!
lstrcmpW
(
buf
,
result
))
{
ok
(
!
lstrcmpW
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
if
(
!
lstrcmpW
(
buf
,
result
)
||
!
lstrcmpW
(
buf2
,
result
)
)
{
ok
(
!
lstrcmpW
(
buf
,
result
)
||
broken
(
!
lstrcmpW
(
buf2
,
result
))
,
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
}
else
{
GetFullPathNameW
(
dir2
,
MAX_PATH
,
buf
,
NULL
);
...
...
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