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

Alexandre Julliard julliard at winehq.org
Fri Aug 31 14:26:33 CDT 2018


Module: wine
Branch: master
Commit: 63eb45083c01b509400b17a2e4fbbaa296a92143
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=63eb45083c01b509400b17a2e4fbbaa296a92143

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Thu Aug 30 21:49:50 2018 -0600

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

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/schedsvc/tests/atsvcapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/schedsvc/tests/atsvcapi.c b/dlls/schedsvc/tests/atsvcapi.c
index 66f237e..d7d48a1 100644
--- a/dlls/schedsvc/tests/atsvcapi.c
+++ b/dlls/schedsvc/tests/atsvcapi.c
@@ -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");




More information about the wine-cvs mailing list