From: Nikita Popov Date: Tue, 4 Aug 2020 13:06:19 +0000 (+0200) Subject: Remove posix_kill() test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef773bf4d5cbd96a6f5c904b2feec6c9fe598589;p=php 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. --- 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====