Skip to content

Commit bc1db73

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: [Filesystem] Check if failed unlink was caused by permission denied fix APCu installation for the nightly build job skip Vulcain-based tests if the binary cannot be executed
2 parents 1be53c0 + 64db290 commit bc1db73

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Tests/HttpClientTestCase.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,14 @@ private static function startVulcain(HttpClientInterface $client)
243243
sleep('\\' === \DIRECTORY_SEPARATOR ? 10 : 1);
244244

245245
if (!$process->isRunning()) {
246+
if ('\\' !== \DIRECTORY_SEPARATOR && 127 === $process->getExitCode()) {
247+
self::markTestSkipped('vulcain binary is missing');
248+
}
249+
250+
if ('\\' !== \DIRECTORY_SEPARATOR && 126 === $process->getExitCode()) {
251+
self::markTestSkipped('vulcain binary is not executable');
252+
}
253+
246254
self::markTestSkipped((new ProcessFailedException($process))->getMessage());
247255
}
248256

0 commit comments

Comments
 (0)