From 27b5dd9a406d60b3ec2d095e6361598d42ed1211 Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com> Date: Mon, 30 Jan 2023 20:07:46 +0000 Subject: [PATCH] Fix Monterey incompat https://github.com/actions/runner/commit/45decac397cb30c9fc5ed58fd6bd1a304ede6329 --- src/Test/L0/ProcessInvokerL0.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Test/L0/ProcessInvokerL0.cs b/src/Test/L0/ProcessInvokerL0.cs index 05102b298a8..768380402ed 100644 --- a/src/Test/L0/ProcessInvokerL0.cs +++ b/src/Test/L0/ProcessInvokerL0.cs @@ -266,7 +266,7 @@ public async Task TestCancel() #if OS_WINDOWS execTask = processInvoker.ExecuteAsync("", "cmd.exe", $"/c \"choice /T {SecondsToRun} /D y\"", null, tokenSource.Token); #else - execTask = processInvoker.ExecuteAsync("", "bash", $"-c \"sleep {SecondsToRun}s\"", null, tokenSource.Token); + execTask = processInvoker.ExecuteAsync("", "bash", $"-c \"sleep {SecondsToRun}\"", null, tokenSource.Token); #endif await Task.Delay(500); tokenSource.Cancel();