Commit 17aa2c82 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Add missing '\n's to ok() calls.

parent 5f925d42
...@@ -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;
......
...@@ -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
......
...@@ -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");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment