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
f68cccc8
Commit
f68cccc8
authored
Apr 27, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Mark a failing test as broken.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=52861
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d6effa72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
23 deletions
+25
-23
locale.c
dlls/kernel32/tests/locale.c
+25
-23
No files found.
dlls/kernel32/tests/locale.c
View file @
f68cccc8
...
...
@@ -4435,29 +4435,31 @@ static void test_GetCPInfo(void)
ok
(
ret
,
"UnmapViewOfFile failed err %lu
\n
"
,
GetLastError
()
);
status
=
pNtGetNlsSectionPtr
(
11
,
65001
,
NULL
,
&
ptr
,
&
size
);
ok
(
status
==
STATUS_OBJECT_NAME_NOT_FOUND
,
"failed %lx
\n
"
,
status
);
if
(
pRtlInitCodePageTable
)
{
static
USHORT
utf8
[
20
]
=
{
0
,
CP_UTF8
};
memset
(
&
table
,
0xcc
,
sizeof
(
table
)
);
pRtlInitCodePageTable
(
utf8
,
&
table
);
ok
(
table
.
CodePage
==
CP_UTF8
,
"wrong codepage %u
\n
"
,
table
.
CodePage
);
if
(
table
.
MaximumCharacterSize
)
{
ok
(
table
.
MaximumCharacterSize
==
4
,
"wrong char size %u
\n
"
,
table
.
MaximumCharacterSize
);
ok
(
table
.
DefaultChar
==
'?'
,
"wrong default char %x
\n
"
,
table
.
DefaultChar
);
ok
(
table
.
UniDefaultChar
==
0xfffd
,
"wrong default char %x
\n
"
,
table
.
UniDefaultChar
);
ok
(
table
.
TransDefaultChar
==
'?'
,
"wrong default char %x
\n
"
,
table
.
TransDefaultChar
);
ok
(
table
.
TransUniDefaultChar
==
'?'
,
"wrong default char %x
\n
"
,
table
.
TransUniDefaultChar
);
ok
(
!
table
.
DBCSCodePage
,
"wrong dbcs %u
\n
"
,
table
.
DBCSCodePage
);
ok
(
!
table
.
MultiByteTable
,
"wrong mbtable %p
\n
"
,
table
.
MultiByteTable
);
ok
(
!
table
.
WideCharTable
,
"wrong wctable %p
\n
"
,
table
.
WideCharTable
);
ok
(
!
table
.
DBCSRanges
,
"wrong ranges %p
\n
"
,
table
.
DBCSRanges
);
ok
(
!
table
.
DBCSOffsets
,
"wrong offsets %p
\n
"
,
table
.
DBCSOffsets
);
}
else
win_skip
(
"utf-8 codepage not supported
\n
"
);
}
ok
(
status
==
STATUS_OBJECT_NAME_NOT_FOUND
||
broken
(
!
status
),
/* win10 1709 */
"failed %lx
\n
"
,
status
);
if
(
!
status
)
UnmapViewOfFile
(
ptr
);
if
(
pRtlInitCodePageTable
)
{
static
USHORT
utf8
[
20
]
=
{
0
,
CP_UTF8
};
memset
(
&
table
,
0xcc
,
sizeof
(
table
)
);
pRtlInitCodePageTable
(
utf8
,
&
table
);
ok
(
table
.
CodePage
==
CP_UTF8
,
"wrong codepage %u
\n
"
,
table
.
CodePage
);
if
(
table
.
MaximumCharacterSize
)
{
ok
(
table
.
MaximumCharacterSize
==
4
,
"wrong char size %u
\n
"
,
table
.
MaximumCharacterSize
);
ok
(
table
.
DefaultChar
==
'?'
,
"wrong default char %x
\n
"
,
table
.
DefaultChar
);
ok
(
table
.
UniDefaultChar
==
0xfffd
,
"wrong default char %x
\n
"
,
table
.
UniDefaultChar
);
ok
(
table
.
TransDefaultChar
==
'?'
,
"wrong default char %x
\n
"
,
table
.
TransDefaultChar
);
ok
(
table
.
TransUniDefaultChar
==
'?'
,
"wrong default char %x
\n
"
,
table
.
TransUniDefaultChar
);
ok
(
!
table
.
DBCSCodePage
,
"wrong dbcs %u
\n
"
,
table
.
DBCSCodePage
);
ok
(
!
table
.
MultiByteTable
,
"wrong mbtable %p
\n
"
,
table
.
MultiByteTable
);
ok
(
!
table
.
WideCharTable
,
"wrong wctable %p
\n
"
,
table
.
WideCharTable
);
ok
(
!
table
.
DBCSRanges
,
"wrong ranges %p
\n
"
,
table
.
DBCSRanges
);
ok
(
!
table
.
DBCSOffsets
,
"wrong offsets %p
\n
"
,
table
.
DBCSOffsets
);
}
else
win_skip
(
"utf-8 codepage not supported
\n
"
);
}
/* normalization tables */
...
...
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