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:
Alex Henrie 2018-08-30 21:49:50 -06:00 committed by Alexandre Julliard
parent 4c1a5099f0
commit 63eb45083c
1 changed files with 1 additions and 1 deletions

View File

@ -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");