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
1ebbfb1a
Commit
1ebbfb1a
authored
Sep 29, 2016
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Use case insensitive compare for filenames.
Signed-off-by:
Detlef Riekenberg
<
wine.dev@web.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
df3c2a4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
file.c
dlls/ntdll/tests/file.c
+6
-6
No files found.
dlls/ntdll/tests/file.c
View file @
1ebbfb1a
...
...
@@ -1571,7 +1571,7 @@ static void test_file_rename_information(void)
res
=
pNtQueryInformationFile
(
handle
,
&
io
,
fni
,
sizeof
(
FILE_NAME_INFORMATION
)
+
MAX_PATH
*
sizeof
(
WCHAR
),
FileNameInformation
);
ok
(
res
==
STATUS_SUCCESS
,
"res expected STATUS_SUCCESS, got %x
\n
"
,
res
);
fni
->
FileName
[
fni
->
FileNameLength
/
sizeof
(
WCHAR
)
]
=
0
;
ok
(
!
lstrcmpW
(
fni
->
FileName
,
newpath
+
2
),
"FileName expected %s, got %s
\n
"
,
ok
(
!
lstrcmp
i
W
(
fni
->
FileName
,
newpath
+
2
),
"FileName expected %s, got %s
\n
"
,
wine_dbgstr_w
(
newpath
+
2
),
wine_dbgstr_w
(
fni
->
FileName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
fni
);
...
...
@@ -1741,7 +1741,7 @@ static void test_file_rename_information(void)
res
=
pNtQueryInformationFile
(
handle
,
&
io
,
fni
,
sizeof
(
FILE_NAME_INFORMATION
)
+
MAX_PATH
*
sizeof
(
WCHAR
),
FileNameInformation
);
ok
(
res
==
STATUS_SUCCESS
,
"res expected STATUS_SUCCESS, got %x
\n
"
,
res
);
fni
->
FileName
[
fni
->
FileNameLength
/
sizeof
(
WCHAR
)
]
=
0
;
ok
(
!
lstrcmpW
(
fni
->
FileName
,
newpath
+
2
),
"FileName expected %s, got %s
\n
"
,
ok
(
!
lstrcmp
i
W
(
fni
->
FileName
,
newpath
+
2
),
"FileName expected %s, got %s
\n
"
,
wine_dbgstr_w
(
newpath
+
2
),
wine_dbgstr_w
(
fni
->
FileName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
fni
);
...
...
@@ -2147,7 +2147,7 @@ static void test_file_rename_information(void)
res
=
pNtQueryInformationFile
(
handle
,
&
io
,
fni
,
sizeof
(
FILE_NAME_INFORMATION
)
+
MAX_PATH
*
sizeof
(
WCHAR
),
FileNameInformation
);
ok
(
res
==
STATUS_SUCCESS
,
"res expected STATUS_SUCCESS, got %x
\n
"
,
res
);
fni
->
FileName
[
fni
->
FileNameLength
/
sizeof
(
WCHAR
)
]
=
0
;
todo_wine
ok
(
!
lstrcmpW
(
fni
->
FileName
,
newpath
+
2
),
"FileName expected %s, got %s
\n
"
,
todo_wine
ok
(
!
lstrcmp
i
W
(
fni
->
FileName
,
newpath
+
2
),
"FileName expected %s, got %s
\n
"
,
wine_dbgstr_w
(
newpath
+
2
),
wine_dbgstr_w
(
fni
->
FileName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
fni
);
...
...
@@ -2203,7 +2203,7 @@ static void test_file_link_information(void)
res
=
pNtQueryInformationFile
(
handle
,
&
io
,
fni
,
sizeof
(
FILE_NAME_INFORMATION
)
+
MAX_PATH
*
sizeof
(
WCHAR
),
FileNameInformation
);
ok
(
res
==
STATUS_SUCCESS
,
"res expected STATUS_SUCCESS, got %x
\n
"
,
res
);
fni
->
FileName
[
fni
->
FileNameLength
/
sizeof
(
WCHAR
)
]
=
0
;
ok
(
!
lstrcmpW
(
fni
->
FileName
,
oldpath
+
2
),
"FileName expected %s, got %s
\n
"
,
ok
(
!
lstrcmp
i
W
(
fni
->
FileName
,
oldpath
+
2
),
"FileName expected %s, got %s
\n
"
,
wine_dbgstr_w
(
oldpath
+
2
),
wine_dbgstr_w
(
fni
->
FileName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
fni
);
...
...
@@ -2373,7 +2373,7 @@ static void test_file_link_information(void)
res
=
pNtQueryInformationFile
(
handle
,
&
io
,
fni
,
sizeof
(
FILE_NAME_INFORMATION
)
+
MAX_PATH
*
sizeof
(
WCHAR
),
FileNameInformation
);
ok
(
res
==
STATUS_SUCCESS
,
"res expected STATUS_SUCCESS, got %x
\n
"
,
res
);
fni
->
FileName
[
fni
->
FileNameLength
/
sizeof
(
WCHAR
)
]
=
0
;
ok
(
!
lstrcmpW
(
fni
->
FileName
,
oldpath
+
2
),
"FileName expected %s, got %s
\n
"
,
ok
(
!
lstrcmp
i
W
(
fni
->
FileName
,
oldpath
+
2
),
"FileName expected %s, got %s
\n
"
,
wine_dbgstr_w
(
oldpath
+
2
),
wine_dbgstr_w
(
fni
->
FileName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
fni
);
...
...
@@ -2776,7 +2776,7 @@ static void test_file_link_information(void)
res
=
pNtQueryInformationFile
(
handle
,
&
io
,
fni
,
sizeof
(
FILE_NAME_INFORMATION
)
+
MAX_PATH
*
sizeof
(
WCHAR
),
FileNameInformation
);
ok
(
res
==
STATUS_SUCCESS
,
"res expected STATUS_SUCCESS, got %x
\n
"
,
res
);
fni
->
FileName
[
fni
->
FileNameLength
/
sizeof
(
WCHAR
)
]
=
0
;
ok
(
!
lstrcmpW
(
fni
->
FileName
,
oldpath
+
2
),
"FileName expected %s, got %s
\n
"
,
ok
(
!
lstrcmp
i
W
(
fni
->
FileName
,
oldpath
+
2
),
"FileName expected %s, got %s
\n
"
,
wine_dbgstr_w
(
oldpath
+
2
),
wine_dbgstr_w
(
fni
->
FileName
)
);
HeapFree
(
GetProcessHeap
(),
0
,
fni
);
...
...
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