Test: /tests/security/open_basedir_readlink.phpt - Version 5.3.9-dev    

There are 2 different diffs reported by users for this test.

Count Diff
2 (67%)
003+
004+ Warning: mkdir(): File exists in /home/lester/Development/PHP5_3/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(/home/lester/Development/PHP5_3/test/ok) is not within the allowed path(s): (.) in /home/lester/Development/PHP5_3/tests/security/open_basedir.inc on line 65
008- Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on line %d
010+ Warning: mkdir(): open_basedir restriction in effect. File(/home/lester/Development/PHP5_3/test/bad) is not within the allowed path(s): (.) in /home/lester/Development/PHP5_3/tests/security/open_basedir.inc on line 66
011- Warning: readlink(): open_basedir restriction in effect. File(../ok/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(/home/lester/Development/PHP5_3/test/ok/ok.txt) is not within the allowed path(s): (.) in /home/lester/Development/PHP5_3/tests/security/open_basedir.inc on line 67
014+
015+ Warning: file_put_contents(/home/lester/Development/PHP5_3/test/ok/ok.txt): failed to open stream: Operation not permitted in /home/lester/Development/PHP5_3/tests/security/open_basedir.inc on line 67
014- Warning: readlink(): open_basedir restriction in effect. File(../ok/./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(/home/lester/Development/PHP5_3/test/bad/bad.txt) is not within the allowed path(s): (.) in /home/lester/Development/PHP5_3/tests/security/open_basedir.inc on line 68
018+
019+ Warning: file_put_contents(/home/lester/Development/PHP5_3/test/bad/bad.txt): failed to open stream: Operation not permitted in /home/lester/Development/PHP5_3/tests/security/open_basedir.inc on line 68
020+
021+ Warning: symlink(): No such file or directory in %s/open_basedir_readlink.php on line 10
017- Warning: readlink(): open_basedir restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in %s on line %d
020- Warning: readlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.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/bad.txt) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: chdir(): open_basedir restriction in effect. File(/home/lester/Development/PHP5_3/test/ok) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 12
025+
026+ Warning: readlink(): No such file or directory in %s/open_basedir_readlink.php on line 14
029+ Warning: readlink(): open_basedir restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 15
030+ bool(false)
031+
032+ Warning: readlink(): open_basedir restriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 16
033+ bool(false)
034+
035+ Warning: readlink(): No such file or directory in %s/open_basedir_readlink.php on line 17
036+ bool(false)
037+
038+ Warning: readlink(): open_basedir restriction in effect. File(/home/lester/Development/PHP5_3/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 18
039+ bool(false)
040+
041+ Warning: symlink(): No such file or directory in %s/open_basedir_readlink.php on line 22
1 (33%)
003+
004+ Warning: mkdir(): File exists in /home/braxton/src/php/php5.3-201110280630/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(/home/braxton/src/php/php5.3-201110280630/test/ok) is not within the allowed path(s): (.) in /home/braxton/src/php/php5.3-201110280630/tests/security/open_basedir.inc on line 65
008- Warning: readlink(): open_basedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on line %d
010+ Warning: mkdir(): open_basedir restriction in effect. File(/home/braxton/src/php/php5.3-201110280630/test/bad) is not within the allowed path(s): (.) in /home/braxton/src/php/php5.3-201110280630/tests/security/open_basedir.inc on line 66
011- Warning: readlink(): open_basedir restriction in effect. File(../ok/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(/home/braxton/src/php/php5.3-201110280630/test/ok/ok.txt) is not within the allowed path(s): (.) in /home/braxton/src/php/php5.3-201110280630/tests/security/open_basedir.inc on line 67
014+
015+ Warning: file_put_contents(/home/braxton/src/php/php5.3-201110280630/test/ok/ok.txt): failed to open stream: Operation not permitted in /home/braxton/src/php/php5.3-201110280630/tests/security/open_basedir.inc on line 67
014- Warning: readlink(): open_basedir restriction in effect. File(../ok/./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(/home/braxton/src/php/php5.3-201110280630/test/bad/bad.txt) is not within the allowed path(s): (.) in /home/braxton/src/php/php5.3-201110280630/tests/security/open_basedir.inc on line 68
018+
019+ Warning: file_put_contents(/home/braxton/src/php/php5.3-201110280630/test/bad/bad.txt): failed to open stream: Operation not permitted in /home/braxton/src/php/php5.3-201110280630/tests/security/open_basedir.inc on line 68
020+
021+ Warning: symlink(): No such file or directory in %s/open_basedir_readlink.php on line 10
017- Warning: readlink(): open_basedir restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in %s on line %d
020- Warning: readlink(): open_basedir restriction in effect. File(%s/test/ok/symlink.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/bad.txt) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: chdir(): open_basedir restriction in effect. File(/home/braxton/src/php/php5.3-201110280630/test/ok) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 12
025+
026+ Warning: readlink(): No such file or directory in %s/open_basedir_readlink.php on line 14
029+ Warning: readlink(): open_basedir restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 15
030+ bool(false)
031+
032+ Warning: readlink(): open_basedir restriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 16
033+ bool(false)
034+
035+ Warning: readlink(): No such file or directory in %s/open_basedir_readlink.php on line 17
036+ bool(false)
037+
038+ Warning: readlink(): open_basedir restriction in effect. File(/home/braxton/src/php/php5.3-201110280630/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s/open_basedir_readlink.php on line 18
039+ bool(false)
040+
041+ Warning: symlink(): No such file or directory in %s/open_basedir_readlink.php on line 22