Commit a39d0c7a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

advapi32/tests: Accept another value for the default service pre-shutdown timeout.

parent 4eee305b
...@@ -2275,8 +2275,9 @@ static void test_queryconfig2(void) ...@@ -2275,8 +2275,9 @@ static void test_queryconfig2(void)
} }
ok(ret, "expected QueryServiceConfig2W to succeed (%d)\n", GetLastError()); ok(ret, "expected QueryServiceConfig2W to succeed (%d)\n", GetLastError());
ok(needed == sizeof(preshutdown_info), "needed = %d\n", needed); ok(needed == sizeof(preshutdown_info), "needed = %d\n", needed);
ok(preshutdown_info.dwPreshutdownTimeout == 180000, "Default PreshutdownTimeout = %d\n", ok(preshutdown_info.dwPreshutdownTimeout == 180000
preshutdown_info.dwPreshutdownTimeout); || preshutdown_info.dwPreshutdownTimeout == 10000 /* Win10 1709+ */,
"Default PreshutdownTimeout = %d\n", preshutdown_info.dwPreshutdownTimeout);
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
preshutdown_info.dwPreshutdownTimeout = -1; preshutdown_info.dwPreshutdownTimeout = -1;
......
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