From 5d33ec9660462c9b8fe91e31f19a4e50264b7081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Thu, 4 Aug 2022 11:00:15 +0200 Subject: [PATCH] Skip failing tests on bugged versions (PHP 8.1.8) --- tests/AbstractProcessTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/AbstractProcessTest.php b/tests/AbstractProcessTest.php index 545272e..5fb122f 100644 --- a/tests/AbstractProcessTest.php +++ b/tests/AbstractProcessTest.php @@ -643,7 +643,7 @@ public function testDetectsClosingStdoutWithoutHavingToWaitForExit() $this->markTestSkipped('Process pipes not supported on Windows'); } - if (PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { + if (PHP_VERSION_ID === 80108 || PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { $this->markTestSkipped('Skip bugged PHP version: https://github.com/php/php-src/issues/8827'); } @@ -673,7 +673,7 @@ public function testDetectsClosingStdoutWithoutHavingToWaitForExit() */ public function testDetectsClosingStdoutSocketWithoutHavingToWaitForExit() { - if (PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { + if (PHP_VERSION_ID === 80108 || PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { $this->markTestSkipped('Skip bugged PHP version: https://github.com/php/php-src/issues/8827'); } @@ -711,7 +711,7 @@ public function testKeepsRunningEvenWhenAllStdioPipesHaveBeenClosed() $this->markTestSkipped('Process pipes not supported on Windows'); } - if (PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { + if (PHP_VERSION_ID === 80108 || PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { $this->markTestSkipped('Skip bugged PHP version: https://github.com/php/php-src/issues/8827'); } @@ -750,7 +750,7 @@ public function testKeepsRunningEvenWhenAllStdioPipesHaveBeenClosed() */ public function testKeepsRunningEvenWhenAllStdioSocketsHaveBeenClosed() { - if (PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { + if (PHP_VERSION_ID === 80108 || PHP_VERSION_ID === 80107 || PHP_VERSION_ID === 80020) { $this->markTestSkipped('Skip bugged PHP version: https://github.com/php/php-src/issues/8827'); }