mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +00:00
sync netapi32_winetest with wine 1.1.35
svn path=/trunk/; revision=44710
This commit is contained in:
parent
616f139bc2
commit
4c1be6442f
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ static void run_apibuf_tests(void)
|
||||||
/* border reallocate cases */
|
/* border reallocate cases */
|
||||||
ok(pNetApiBufferReallocate(0, 1500, &p) == NERR_Success, "Reallocate with OldBuffer = NULL failed\n");
|
ok(pNetApiBufferReallocate(0, 1500, &p) == NERR_Success, "Reallocate with OldBuffer = NULL failed\n");
|
||||||
ok(p != NULL, "No memory got allocated\n");
|
ok(p != NULL, "No memory got allocated\n");
|
||||||
|
ok(pNetApiBufferFree(p) == NERR_Success, "NetApiBufferFree failed\n");
|
||||||
|
|
||||||
ok(pNetApiBufferAllocate(1024, &p) == NERR_Success, "Memory not reserved\n");
|
ok(pNetApiBufferAllocate(1024, &p) == NERR_Success, "Memory not reserved\n");
|
||||||
ok(pNetApiBufferReallocate(p, 0, &p) == NERR_Success, "Not freed\n");
|
ok(pNetApiBufferReallocate(p, 0, &p) == NERR_Success, "Not freed\n");
|
||||||
ok(p == NULL, "Pointer not cleared\n");
|
ok(p == NULL, "Pointer not cleared\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue