Add missing '\n's to ok() calls.
Francois Gouget
fgouget at free.fr
Tue Oct 3 07:09:58 CDT 2006
---
dlls/kernel32/tests/path.c | 2 +-
dlls/ntdll/tests/exception.c | 4 ++--
dlls/ntdll/tests/info.c | 6 +++---
dlls/rsaenh/tests/rsaenh.c | 2 +-
4 files changed, 7 insertions(+), 7 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/exception.c b/dlls/ntdll/tests/exception.c
index 1d00816..c52ce0f 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -277,8 +277,8 @@ static void test_debug_regs(void)
pNtCurrentTeb()->Tib.ExceptionList = exc_frame.frame.Prev;
ctx.ContextFlags = CONTEXT_DEBUG_REGISTERS;
res = pNtGetContextThread(GetCurrentThread(), &ctx);
- ok (res == STATUS_SUCCESS,"NtGetContextThread failed with %lx", res);
- ok(ctx.Dr7 == 0x155,"failed to set debugregister 7 to 0x155");
+ ok (res == STATUS_SUCCESS,"NtGetContextThread failed with %lx\n", res);
+ ok(ctx.Dr7 == 0x155,"failed to set debugregister 7 to 0x155\n");
}
#endif /* __i386__ */
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");
}
--
1.4.1.1
More information about the wine-patches
mailing list