The original issue is fixed with the new NPFS – r63719 enables asynchronous I/O so starting a service now correctly times out.
However the timeout test takes two minutes to run (because it causes four 30-second timeouts), so it is left disabled unless winetest_interactive is set.
Since r54315, the advapi32:service winetest hangs.
This isn't a regression, but caused by the test getting further than before.
A CreateService call with invalid parameters previously succeeded, causing following tests to fail because the service already existed.
The hang happens in StartService (called in the test by try_start_stop) after the following sequence (line 2161):
- service is created with valid ImagePath
- service is started
- service is stopped (but ROS fails to do so)
- ImagePath is changed to something invalid with ChangeServiceConfig
- service is started again -> hang
As I "broke" it, I'm working on fixing it.
... just so noone wastes any (more) time on this