Test: /tests/security/open_basedir_error_log.phpt - Version 7.2.0-dev    

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

Count Diff
14 (82%)
003+
004+ Warning: mkdir(): File exists in /home/edgarsandi/proj/personal/php-src/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/edgarsandi/proj/personal/php-src/test/ok) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 65
008- Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
010+ Warning: mkdir(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/bad) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 66
011- Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.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/edgarsandi/proj/personal/php-src/test/ok/ok.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 67
014+
015+ Warning: file_put_contents(/home/edgarsandi/proj/personal/php-src/test/ok/ok.txt): failed to open stream: Operation not permitted in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 67
016+
017+ Warning: file_put_contents(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/bad/bad.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 68
018+
019+ Warning: file_put_contents(/home/edgarsandi/proj/personal/php-src/test/bad/bad.txt): failed to open stream: Operation not permitted in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 68
020+
021+ Warning: chdir(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/ok) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 99
014- Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on line %d
017- string(%d) "%s/test/ok/ok.txt"
023+
024+ Warning: ini_set(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/bad/bad.txt) is not within the allowed path(s): (.) in %s/open_basedir_error_log.php on line 7
025+ bool(false)
026+
027+ Warning: ini_set(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/bad.txt) is not within the allowed path(s): (.) in %s/open_basedir_error_log.php on line 8
028+ bool(false)
030+
031+ Warning: ini_set(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_error_log.php on line 10
032+ bool(false)
033+
034+ Warning: ini_set(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/ok/ok.txt) is not within the allowed path(s): (.) in %s/open_basedir_error_log.php on line 11
035+ bool(false)
3 (18%)
003+
004+ Warning: readdir(): supplied resource is not a valid Directory resource in /experiment/source/tests/security/open_basedir.inc on line 39
005+
006+ Warning: closedir(): supplied resource is not a valid Directory resource in /experiment/source/tests/security/open_basedir.inc on line 53
003- bool(true)
008- Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
010+ Segmentation fault (core dumped)
012+ Termsig=11
009- bool(false)
010-
011- Warning: ini_set(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on line %d
012- bool(false)
013-
014- Warning: ini_set(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on line %d
015- bool(false)
016- string(0) ""
017- string(%d) "%s/test/ok/ok.txt"
018- *** Finished testing open_basedir configuration [error_log] ***