schedsvc/tests: Check the entire entry list to find the new job.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4c1a5099f0
commit
63eb45083c
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue