Skip to content

Commit 19a9bf4

Browse files
Skip this test on macOS for now
1 parent 0479d14 commit 19a9bf4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/tests/Util/FilesystemTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ public function testWriteDoesNotCreateDirectoryForStreamTarget(): void
127127

128128
public function testWriteThrowsExceptionWhenFileCannotBeWritten(): void
129129
{
130+
if (PHP_OS_FAMILY === 'Darwin') {
131+
$this->markTestSkipped('Cannot reliably trigger a write failure on macOS because /proc does not exist');
132+
}
133+
130134
if (PHP_OS_FAMILY === 'Windows') {
131135
// Character < is invalid in Windows file names, and dirname() returns the existing temp dir
132136
$target = sys_get_temp_dir() . '\\file<invalid';

0 commit comments

Comments
 (0)