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
25bca2ed
Commit
25bca2ed
authored
Sep 03, 2013
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Sep 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun/tests: Ignore case in path names.
parent
0de2514f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
filesystem.c
dlls/scrrun/tests/filesystem.c
+7
-7
No files found.
dlls/scrrun/tests/filesystem.c
View file @
25bca2ed
...
...
@@ -411,7 +411,7 @@ static void test_GetAbsolutePathName(void)
hr
=
IFileSystem3_GetAbsolutePathName
(
fs3
,
NULL
,
&
result
);
ok
(
hr
==
S_OK
,
"GetAbsolutePathName returned %x, expected S_OK
\n
"
,
hr
);
GetFullPathNameW
(
cur_dir
,
MAX_PATH
,
buf
,
NULL
);
ok
(
!
lstrcmpW
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
ok
(
!
lstrcmp
i
W
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
SysFreeString
(
result
);
find
=
FindFirstFileW
(
dir_match2
,
&
fdata
);
...
...
@@ -425,26 +425,26 @@ static void test_GetAbsolutePathName(void)
hr
=
IFileSystem3_GetAbsolutePathName
(
fs3
,
path
,
&
result
);
ok
(
hr
==
S_OK
,
"GetAbsolutePathName returned %x, expected S_OK
\n
"
,
hr
);
GetFullPathNameW
(
dir_match1
,
MAX_PATH
,
buf2
,
NULL
);
ok
(
!
lstrcmpW
(
buf2
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf2
));
ok
(
!
lstrcmp
i
W
(
buf2
,
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
(
!
lstrcmp
W
(
buf
,
result
)
||
broken
(
!
lstrcmp
W
(
buf2
,
result
)),
"result = %s, expected %s
\n
"
,
ok
(
!
lstrcmp
iW
(
buf
,
result
)
||
broken
(
!
lstrcmpi
W
(
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
(
!
lstrcmp
W
(
buf
,
result
)
||
!
lstrcmp
W
(
buf2
,
result
))
{
ok
(
!
lstrcmp
W
(
buf
,
result
)
||
broken
(
!
lstrcmp
W
(
buf2
,
result
)),
"result = %s, expected %s
\n
"
,
if
(
!
lstrcmp
iW
(
buf
,
result
)
||
!
lstrcmpi
W
(
buf2
,
result
))
{
ok
(
!
lstrcmp
iW
(
buf
,
result
)
||
broken
(
!
lstrcmpi
W
(
buf2
,
result
)),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
}
else
{
GetFullPathNameW
(
dir2
,
MAX_PATH
,
buf
,
NULL
);
ok
(
!
lstrcmpW
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
ok
(
!
lstrcmp
i
W
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
}
SysFreeString
(
result
);
...
...
@@ -454,7 +454,7 @@ static void test_GetAbsolutePathName(void)
hr
=
IFileSystem3_GetAbsolutePathName
(
fs3
,
path
,
&
result
);
ok
(
hr
==
S_OK
,
"GetAbsolutePathName returned %x, expected S_OK
\n
"
,
hr
);
GetFullPathNameW
(
dir_match2
,
MAX_PATH
,
buf
,
NULL
);
ok
(
!
lstrcmpW
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
ok
(
!
lstrcmp
i
W
(
buf
,
result
),
"result = %s, expected %s
\n
"
,
wine_dbgstr_w
(
result
),
wine_dbgstr_w
(
buf
));
SysFreeString
(
result
);
SysFreeString
(
path
);
...
...
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