[3/3] advapi32/tests: Add preliminary event tracing tests.

Nikolay Sivov bunglehead at gmail.com
Mon Jun 8 01:54:01 CDT 2015


On 08.06.2015 6:56, Zebediah Figura wrote:
> +    /* test ERROR_DISK_FULL */
> +    properties->MaximumFileSize = 1000000000000; /* 1 EB */
> +    SetLastError(0xdeadbeef);
> +    ret = StartTraceA(&handle, sessionname, properties);
> +    todo_wine
> +    {
> +    ok(ret != ERROR_SUCCESS, "Expected failure\n");
> +    ok(GetLastError() == ERROR_DISK_FULL, "Expected ERROR_DISK_FULL, got %d\n", GetLastError());
> +    }
> +    properties->MaximumFileSize = 0;

Patches look fine to me, but I have to ask - is it possible that this 
test will actually try to write that much?



More information about the wine-devel mailing list