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
17aa2c82
Commit
17aa2c82
authored
Oct 03, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing '\n's to ok() calls.
parent
5f925d42
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
path.c
dlls/kernel32/tests/path.c
+1
-1
info.c
dlls/ntdll/tests/info.c
+3
-3
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+1
-1
No files found.
dlls/kernel32/tests/path.c
View file @
17aa2c82
...
@@ -940,7 +940,7 @@ static void test_GetLongPathNameW(void)
...
@@ -940,7 +940,7 @@ static void test_GetLongPathNameW(void)
if
(
pGetLongPathNameW
)
if
(
pGetLongPathNameW
)
{
{
ok
(
0
==
length
,
"GetLongPathNameW returned %ld but expected 0
\n
"
,
length
);
ok
(
0
==
length
,
"GetLongPathNameW returned %ld but expected 0
\n
"
,
length
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"GetLastError returned %lx but expected ERROR_INVALID_PARAMETER"
,
GetLastError
());
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"GetLastError returned %lx but expected ERROR_INVALID_PARAMETER
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
empty
[
0
]
=
0
;
empty
[
0
]
=
0
;
...
...
dlls/ntdll/tests/info.c
View file @
17aa2c82
...
@@ -773,13 +773,13 @@ static void test_readvirtualmemory(void)
...
@@ -773,13 +773,13 @@ static void test_readvirtualmemory(void)
status
=
pNtReadVirtualMemory
(
process
,
teststring
,
buffer
,
12
,
&
readcount
);
status
=
pNtReadVirtualMemory
(
process
,
teststring
,
buffer
,
12
,
&
readcount
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08lx
\n
"
,
status
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08lx
\n
"
,
status
);
ok
(
readcount
==
12
,
"Expected to read 12 bytes, got %ld
\n
"
,
readcount
);
ok
(
readcount
==
12
,
"Expected to read 12 bytes, got %ld
\n
"
,
readcount
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory"
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory
\n
"
);
/* no number of bytes */
/* no number of bytes */
memset
(
buffer
,
0
,
12
);
memset
(
buffer
,
0
,
12
);
status
=
pNtReadVirtualMemory
(
process
,
teststring
,
buffer
,
12
,
NULL
);
status
=
pNtReadVirtualMemory
(
process
,
teststring
,
buffer
,
12
,
NULL
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08lx
\n
"
,
status
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08lx
\n
"
,
status
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory"
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory
\n
"
);
/* illegal remote address */
/* illegal remote address */
todo_wine
{
todo_wine
{
...
@@ -798,7 +798,7 @@ static void test_readvirtualmemory(void)
...
@@ -798,7 +798,7 @@ static void test_readvirtualmemory(void)
status
=
pNtReadVirtualMemory
((
HANDLE
)
-
1
,
teststring
,
buffer
,
12
,
&
readcount
);
status
=
pNtReadVirtualMemory
((
HANDLE
)
-
1
,
teststring
,
buffer
,
12
,
&
readcount
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08lx
\n
"
,
status
);
ok
(
status
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08lx
\n
"
,
status
);
ok
(
readcount
==
12
,
"Expected to read 12 bytes, got %ld
\n
"
,
readcount
);
ok
(
readcount
==
12
,
"Expected to read 12 bytes, got %ld
\n
"
,
readcount
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory"
);
ok
(
strcmp
(
teststring
,
buffer
)
==
0
,
"Expected read memory to be the same as original memory
\n
"
);
/* this test currently crashes wine with "wine client error:<process id>: read: Bad address"
/* this test currently crashes wine with "wine client error:<process id>: read: Bad address"
* because the reply from wine server is directly read into the buffer and that fails with EFAULT
* because the reply from wine server is directly read into the buffer and that fails with EFAULT
...
...
dlls/rsaenh/tests/rsaenh.c
View file @
17aa2c82
...
@@ -1175,7 +1175,7 @@ static void test_import_export(void)
...
@@ -1175,7 +1175,7 @@ static void test_import_export(void)
result
=
CryptExportKey
(
hPublicKey
,
0
,
PUBLICKEYBLOB
,
0
,
emptyKey
,
&
dwLen
);
result
=
CryptExportKey
(
hPublicKey
,
0
,
PUBLICKEYBLOB
,
0
,
emptyKey
,
&
dwLen
);
ok
(
result
,
"failed to export the fresh imported public key
\n
"
);
ok
(
result
,
"failed to export the fresh imported public key
\n
"
);
ok
(
dwLen
==
84
,
"Expected exported key to be 84 bytes long but got %ld bytes."
,
dwLen
);
ok
(
dwLen
==
84
,
"Expected exported key to be 84 bytes long but got %ld bytes.
\n
"
,
dwLen
);
ok
(
!
memcmp
(
emptyKey
,
abPlainPublicKey
,
dwLen
),
"exported key is different from the imported key
\n
"
);
ok
(
!
memcmp
(
emptyKey
,
abPlainPublicKey
,
dwLen
),
"exported key is different from the imported key
\n
"
);
}
}
...
...
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