From b08b1da6f4550601eec23327bd40d17ad6a6b4e9 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Sun, 15 May 2022 05:57:09 +0200 Subject: Revert "refactor(runtime): change from signal_str_to_int function to enum (#14539)" (#14606) This reverts commit c496639d5dc190b107222bc30462d67ddb86c223. --- cli/tests/unit/process_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests') diff --git a/cli/tests/unit/process_test.ts b/cli/tests/unit/process_test.ts index 9abe149f9..5acb92226 100644 --- a/cli/tests/unit/process_test.ts +++ b/cli/tests/unit/process_test.ts @@ -473,10 +473,10 @@ Deno.test( Deno.test({ permissions: { run: false } }, function killPermissions() { assertThrows(() => { // Unlike the other test cases, we don't have permission to spawn a - // subprocess we can safely kill. Instead we send SIGTERM to the current + // subprocess we can safely kill. Instead we send SIGCONT to the current // process - assuming that Deno does not have a special handler set for it // and will just continue even if a signal is erroneously sent. - Deno.kill(Deno.pid, "SIGTERM"); + Deno.kill(Deno.pid, "SIGCONT"); }, Deno.errors.PermissionDenied); }); -- cgit v1.2.3