From ef773bf4d5cbd96a6f5c904b2feec6c9fe598589 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 4 Aug 2020 15:06:19 +0200 Subject: [PATCH] Remove posix_kill() test This test is doing something really dubious. There's a race condition here that would kill some poor process that happens to start at just the wrong time. --- ext/posix/tests/posix_kill_basic.phpt | 38 --------------------------- 1 file changed, 38 deletions(-) delete mode 100644 ext/posix/tests/posix_kill_basic.phpt diff --git a/ext/posix/tests/posix_kill_basic.phpt b/ext/posix/tests/posix_kill_basic.phpt deleted file mode 100644 index 4ce50ca497..0000000000 --- a/ext/posix/tests/posix_kill_basic.phpt +++ /dev/null @@ -1,38 +0,0 @@ ---TEST-- -Test posix_kill(), posix_get_last_error and posix_strerror() functions : basic functionality ---SKIPIF-- - ---FILE-- - -===DONE==== ---EXPECTF-- -Basic test of POSIX getpgid(), kill(), get_last_error() and strerror() functions -Kill pid=%d -bool(false) -int(%d) -string(%d) %s%rNo such process|Operation not permitted%r%s -===DONE==== -- 2.40.0