Test: /tests/security/open_basedir_symlink.phpt - Version 7.4.27    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
003+ 004+ Warning: mkdir(): File exists in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 64 005+ bool(false) 003- bool(true) 004- bool(true) 005- bool(true) 006- bool(true) 007+ Warning: mkdir(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 65 008- Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on line %d 010+ Warning: mkdir(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/bad) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 66 011- Warning: symlink(): open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on line %d 013+ Warning: file_put_contents(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok/ok.txt) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 67 014+ 015+ Warning: file_put_contents(/usr/src/packages/BUILD/php-7.4.27/test/ok/ok.txt): failed to open stream: Operation not permitted in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 67 014- Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on line %d 015- bool(false) 017+ Warning: file_put_contents(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/bad/bad.txt) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 68 018+ 019+ Warning: file_put_contents(/usr/src/packages/BUILD/php-7.4.27/test/bad/bad.txt): failed to open stream: Operation not permitted in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 68 020+ 021+ Warning: chdir(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok) is not within the allowed path(s): (.) in /usr/src/packages/BUILD/php-7.4.27/tests/security/open_basedir.inc on line 99 017- Warning: symlink(): open_basedir restriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on line %d 020- 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 023- Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on line %d 024+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 7 026- 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 027+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 8 029- 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 030+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 9 032- Warning: symlink(): open_basedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on line %d 033+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 10 035- bool(true) 036- bool(true) 037- bool(true) 038- bool(true) 036+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 13 037+ bool(false) 038+ 039+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 14 040+ bool(false) 041+ 042+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 15 043+ bool(false) 044+ 045+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 16 046+ bool(false) 047+ 048+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 17 049+ bool(false) 050+ 051+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 21 052+ bool(false) 053+ 054+ Warning: unlink(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_symlink.php on line 22 057+ 058+ Warning: symlink(): No such file or directory in %s/open_basedir_symlink.php on line 26 059+ bool(false) 060+ 061+ Warning: unlink(): open_basedir restriction in effect. File(/usr/src/packages/BUILD/php-7.4.27/test/ok/ok2/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_symlink.php on line 27 062+ bool(false)