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
eb3f078c
Commit
eb3f078c
authored
Dec 14, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add trailing '\n's to ok() calls.
parent
4e422766
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
profile.c
dlls/mscms/tests/profile.c
+2
-2
file.c
dlls/msvcrt/tests/file.c
+2
-2
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+1
-1
msg.c
dlls/user/tests/msg.c
+2
-2
No files found.
dlls/mscms/tests/profile.c
View file @
eb3f078c
...
@@ -649,7 +649,7 @@ static void test_OpenColorProfileA()
...
@@ -649,7 +649,7 @@ static void test_OpenColorProfileA()
handle
=
OpenColorProfileA
(
&
profile
,
PROFILE_READWRITE
,
0
,
0
);
handle
=
OpenColorProfileA
(
&
profile
,
PROFILE_READWRITE
,
0
,
0
);
ok
(
handle
==
NULL
,
"OpenColorProfileA() failed (%ld)
\n
"
,
GetLastError
()
);
ok
(
handle
==
NULL
,
"OpenColorProfileA() failed (%ld)
\n
"
,
GetLastError
()
);
ok
(
!
CloseColorProfile
(
NULL
),
"CloseColorProfile() succeeded"
);
ok
(
!
CloseColorProfile
(
NULL
),
"CloseColorProfile() succeeded
\n
"
);
if
(
standardprofile
)
if
(
standardprofile
)
{
{
...
@@ -697,7 +697,7 @@ static void test_OpenColorProfileW()
...
@@ -697,7 +697,7 @@ static void test_OpenColorProfileW()
handle
=
OpenColorProfileW
(
&
profile
,
PROFILE_READWRITE
,
0
,
0
);
handle
=
OpenColorProfileW
(
&
profile
,
PROFILE_READWRITE
,
0
,
0
);
ok
(
handle
==
NULL
,
"OpenColorProfileW() failed (%ld)
\n
"
,
GetLastError
()
);
ok
(
handle
==
NULL
,
"OpenColorProfileW() failed (%ld)
\n
"
,
GetLastError
()
);
ok
(
!
CloseColorProfile
(
NULL
),
"CloseColorProfile() succeeded"
);
ok
(
!
CloseColorProfile
(
NULL
),
"CloseColorProfile() succeeded
\n
"
);
if
(
standardprofileW
)
if
(
standardprofileW
)
{
{
...
...
dlls/msvcrt/tests/file.c
View file @
eb3f078c
...
@@ -261,7 +261,7 @@ static void test_file_inherit( const char* selfname )
...
@@ -261,7 +261,7 @@ static void test_file_inherit( const char* selfname )
char
buffer
[
16
];
char
buffer
[
16
];
fd
=
open
(
"fdopen.tst"
,
O_CREAT
|
O_RDWR
|
O_BINARY
,
_S_IREAD
|
_S_IWRITE
);
fd
=
open
(
"fdopen.tst"
,
O_CREAT
|
O_RDWR
|
O_BINARY
,
_S_IREAD
|
_S_IWRITE
);
ok
(
fd
!=
-
1
,
"Couldn't create test file
\n
"
);
ok
(
fd
!=
-
1
,
"Couldn't create test file
\n
"
);
arg_v
[
0
]
=
selfname
;
arg_v
[
0
]
=
selfname
;
arg_v
[
1
]
=
"tests/file.c"
;
arg_v
[
1
]
=
"tests/file.c"
;
arg_v
[
2
]
=
buffer
;
sprintf
(
buffer
,
"%d"
,
fd
);
arg_v
[
2
]
=
buffer
;
sprintf
(
buffer
,
"%d"
,
fd
);
...
@@ -274,7 +274,7 @@ static void test_file_inherit( const char* selfname )
...
@@ -274,7 +274,7 @@ static void test_file_inherit( const char* selfname )
ok
(
unlink
(
"fdopen.tst"
)
!=
1
,
"Couldn't unlink
\n
"
);
ok
(
unlink
(
"fdopen.tst"
)
!=
1
,
"Couldn't unlink
\n
"
);
fd
=
open
(
"fdopen.tst"
,
O_CREAT
|
O_RDWR
|
O_BINARY
|
O_NOINHERIT
,
_S_IREAD
|
_S_IWRITE
);
fd
=
open
(
"fdopen.tst"
,
O_CREAT
|
O_RDWR
|
O_BINARY
|
O_NOINHERIT
,
_S_IREAD
|
_S_IWRITE
);
ok
(
fd
!=
-
1
,
"Couldn't create test file
\n
"
);
ok
(
fd
!=
-
1
,
"Couldn't create test file
\n
"
);
arg_v
[
0
]
=
selfname
;
arg_v
[
0
]
=
selfname
;
arg_v
[
1
]
=
"tests/file.c"
;
arg_v
[
1
]
=
"tests/file.c"
;
arg_v
[
2
]
=
buffer
;
sprintf
(
buffer
,
"%d"
,
fd
);
arg_v
[
2
]
=
buffer
;
sprintf
(
buffer
,
"%d"
,
fd
);
...
...
dlls/rsaenh/tests/rsaenh.c
View file @
eb3f078c
...
@@ -130,7 +130,7 @@ static BOOL derive_key(ALG_ID aiAlgid, HCRYPTKEY *phKey, DWORD len)
...
@@ -130,7 +130,7 @@ static BOOL derive_key(ALG_ID aiAlgid, HCRYPTKEY *phKey, DWORD len)
result
=
CryptCreateHash
(
hProv
,
CALG_MD2
,
0
,
0
,
&
hHash
);
result
=
CryptCreateHash
(
hProv
,
CALG_MD2
,
0
,
0
,
&
hHash
);
if
(
!
result
)
{
if
(
!
result
)
{
/* rsaenh compiled without OpenSSL */
/* rsaenh compiled without OpenSSL */
ok
(
GetLastError
()
==
NTE_BAD_ALGID
,
"%08lx"
,
GetLastError
());
ok
(
GetLastError
()
==
NTE_BAD_ALGID
,
"%08lx
\n
"
,
GetLastError
());
return
FALSE
;
return
FALSE
;
}
}
ok
(
result
,
"%08lx
\n
"
,
GetLastError
());
ok
(
result
,
"%08lx
\n
"
,
GetLastError
());
...
...
dlls/user/tests/msg.c
View file @
eb3f078c
...
@@ -4056,8 +4056,8 @@ static void test_timers(void)
...
@@ -4056,8 +4056,8 @@ static void test_timers(void)
NULL
,
NULL
,
0
);
NULL
,
NULL
,
0
);
info
.
id
=
SetTimer
(
info
.
hWnd
,
TIMER_ID
,
10000
,
tfunc
);
info
.
id
=
SetTimer
(
info
.
hWnd
,
TIMER_ID
,
10000
,
tfunc
);
ok
(
info
.
id
,
"SetTimer failed"
);
ok
(
info
.
id
,
"SetTimer failed
\n
"
);
ok
(
info
.
id
==
TIMER_ID
,
"SetTimer timer ID different"
);
ok
(
info
.
id
==
TIMER_ID
,
"SetTimer timer ID different
\n
"
);
info
.
handles
[
0
]
=
CreateEvent
(
NULL
,
0
,
0
,
NULL
);
info
.
handles
[
0
]
=
CreateEvent
(
NULL
,
0
,
0
,
NULL
);
info
.
handles
[
1
]
=
CreateThread
(
NULL
,
0
,
timer_thread_proc
,
&
info
,
0
,
&
id
);
info
.
handles
[
1
]
=
CreateThread
(
NULL
,
0
,
timer_thread_proc
,
&
info
,
0
,
&
id
);
...
...
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