mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
parent
39c292b1eb
commit
8a9d45b86f
9 changed files with 49 additions and 1 deletions
|
@ -5,6 +5,12 @@ phar
|
||||||
--INI--
|
--INI--
|
||||||
phar.readonly=1
|
phar.readonly=1
|
||||||
phar.require_hash=0
|
phar.require_hash=0
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
|
$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
|
||||||
|
|
|
@ -5,6 +5,12 @@ phar
|
||||||
--INI--
|
--INI--
|
||||||
phar.readonly=1
|
phar.readonly=1
|
||||||
phar.require_hash=0
|
phar.require_hash=0
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,12 @@ phar
|
||||||
--INI--
|
--INI--
|
||||||
phar.readonly=0
|
phar.readonly=0
|
||||||
phar.require_hash=0
|
phar.require_hash=0
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
|
$fname = __DIR__ . '/' . basename(__FILE__, '.php') . '.1.phar.php';
|
||||||
|
|
|
@ -5,6 +5,12 @@ phar
|
||||||
--INI--
|
--INI--
|
||||||
phar.require_hash=1
|
phar.require_hash=1
|
||||||
phar.readonly=0
|
phar.readonly=0
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
umask(0);
|
umask(0);
|
||||||
|
|
|
@ -5,6 +5,12 @@ phar
|
||||||
--INI--
|
--INI--
|
||||||
phar.readonly=0
|
phar.readonly=0
|
||||||
phar.require_hash=0
|
phar.require_hash=0
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,12 @@ phar
|
||||||
--INI--
|
--INI--
|
||||||
phar.readonly=0
|
phar.readonly=0
|
||||||
phar.require_hash=0
|
phar.require_hash=0
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,10 @@ Test posix_getgrnam() function : basic functionality
|
||||||
posix
|
posix
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
if (!posix_getgroups()) die('skip - groups unavailable (ci)');
|
if (!posix_getgroups()) die('skip - groups unavailable (ci)');
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
Test posix_getgroups() function : basic functionality
|
Test posix_getgroups() function : basic functionality
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
posix
|
posix
|
||||||
|
--SKIPIF--
|
||||||
|
<?php
|
||||||
|
if (getenv("GITHUB_ACTIONS") && PHP_OS_FAMILY === "Darwin") {
|
||||||
|
die("flaky Occasionally segfaults on macOS for unknown reasons");
|
||||||
|
}
|
||||||
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
echo "Basic test of POSIX getgroups\n";
|
echo "Basic test of POSIX getgroups\n";
|
||||||
|
|
|
@ -2240,6 +2240,9 @@ TEST $file
|
||||||
} elseif (!strncasecmp('xfail', $output, 5)) {
|
} elseif (!strncasecmp('xfail', $output, 5)) {
|
||||||
// Pretend we have an XFAIL section
|
// Pretend we have an XFAIL section
|
||||||
$test->setSection('XFAIL', ltrim(substr($output, 5)));
|
$test->setSection('XFAIL', ltrim(substr($output, 5)));
|
||||||
|
} elseif (!strncasecmp('flaky', $output, 5)) {
|
||||||
|
// Pretend we have a FLAKY section
|
||||||
|
$test->setSection('FLAKY', ltrim(substr($output, 5)));
|
||||||
} elseif ($output !== '') {
|
} elseif ($output !== '') {
|
||||||
show_result("BORK", $output, $tested_file, 'reason: invalid output from SKIPIF', $temp_filenames);
|
show_result("BORK", $output, $tested_file, 'reason: invalid output from SKIPIF', $temp_filenames);
|
||||||
$PHP_FAILED_TESTS['BORKED'][] = [
|
$PHP_FAILED_TESTS['BORKED'][] = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue