diff --git a/tests/security/open_basedir_linkinfo.phpt b/tests/security/open_basedir_linkinfo.phpt index aaadbabfa03f..55ec6096d3f7 100644 --- a/tests/security/open_basedir_linkinfo.phpt +++ b/tests/security/open_basedir_linkinfo.phpt @@ -6,13 +6,10 @@ if(PHP_OS_FAMILY === "Windows") { die('skip no symlinks on Windows'); } ?> ---XFAIL-- -BUG: open_basedir cannot delete symlink to prohibited file. See also -bugs 48111 and 52176. +--INI-- +open_basedir=. --FILE-- --CLEAN-- @@ -61,5 +57,7 @@ int(%d) Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d bool(false) int(%d) -bool(true) + +Warning: unlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on line %d +bool(false) *** Finished testing open_basedir configuration [linkinfo] ***