mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
win_service - use custom binary for tests (#51689)
This commit is contained in:
16
test/integration/targets/win_service/files/Program.cs
Normal file
16
test/integration/targets/win_service/files/Program.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ServiceProcess;
|
||||
|
||||
namespace SleepService
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
ServiceBase.Run(new ServiceBase[1]
|
||||
{
|
||||
(ServiceBase) new SleepService(args)
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user