We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da19998 commit 3442979Copy full SHA for 3442979
src/Symfony/Component/Yaml/Tests/ParserTest.php
@@ -2099,6 +2099,10 @@ public function testParsingNotReadableFilesThrowsException()
2099
$this->markTestSkipped('chmod is not supported on Windows');
2100
}
2101
2102
+ if (!getenv('USER') || 'root' === getenv('USER')) {
2103
+ $this->markTestSkipped('This test will fail if run under superuser');
2104
+ }
2105
+
2106
$file = __DIR__.'/Fixtures/not_readable.yml';
2107
chmod($file, 0200);
2108
0 commit comments