Francois Gouget : Add missing '\n's to ok() calls.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 3 10:04:43 CDT 2006
Module: wine
Branch: master
Commit: 17aa2c82d26c55d303f65c14b52ce0275aee7173
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=17aa2c82d26c55d303f65c14b52ce0275aee7173
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Oct 3 14:09:58 2006 +0200
Add missing '\n's to ok() calls.
---
dlls/kernel32/tests/path.c | 2 +-
dlls/ntdll/tests/info.c | 6 +++---
dlls/rsaenh/tests/rsaenh.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c
index e348865..9e31ad7 100644
--- a/dlls/kernel32/tests/path.c
+++ b/dlls/kernel32/tests/path.c
@@ -940,7 +940,7 @@ static void test_GetLongPathNameW(void)
if(pGetLongPathNameW)
{
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);
empty[0]=0;
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 2588bed..30e1500 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -773,13 +773,13 @@ static void test_readvirtualmemory(void)
status = pNtReadVirtualMemory(process, teststring, buffer, 12, &readcount);
ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08lx\n", status);
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 */
memset(buffer, 0, 12);
status = pNtReadVirtualMemory(process, teststring, buffer, 12, NULL);
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 */
todo_wine{
@@ -798,7 +798,7 @@ static void test_readvirtualmemory(void)
status = pNtReadVirtualMemory((HANDLE)-1, teststring, buffer, 12, &readcount);
ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08lx\n", status);
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"
* because the reply from wine server is directly read into the buffer and that fails with EFAULT
diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 2162562..25467d7 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -1175,7 +1175,7 @@ static void test_import_export(void)
result = CryptExportKey(hPublicKey, 0, PUBLICKEYBLOB, 0, emptyKey, &dwLen);
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");
}
More information about the wine-cvs
mailing list