Commit 63eb4508 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

schedsvc/tests: Check the entire entry list to find the new job.

parent 4c1a5099
......@@ -118,7 +118,7 @@ START_TEST(atsvcapi)
container.EntriesRead = 0;
container.Buffer = NULL;
total = start_index = 0;
ret = NetrJobEnum(server_name, &container, 1, &total, &start_index);
ret = NetrJobEnum(server_name, &container, -1, &total, &start_index);
if (ret == ERROR_ACCESS_DENIED)
{
win_skip("NetrJobEnum: Access denied, skipping the tests\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