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

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

Count Diff
13 (76%)
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: fileatime(): open_basedir restriction in effect. File(../bad) 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: fileatime(): open_basedir restriction in effect. File(../bad/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
014- Warning: fileatime(): open_basedir restriction in effect. File(..) 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/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
017- Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
020- Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
023- Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: fileatime(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 78
026- Warning: fileatime(): 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: fileatime(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 79
029- Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
030+ Warning: fileatime(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 80
033+ Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 81
035- int(%d)
036- int(%d)
037- int(%d)
038- int(%d)
036+ Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 82
037+ bool(false)
038+
039+ Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 83
040+ bool(false)
041+
042+ Warning: fileatime(): 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 85
043+ bool(false)
044+
045+ Warning: fileatime(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 86
046+ bool(false)
047+
050+
051+ Warning: fileatime(): open_basedir restriction in effect. File(../ok) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 129
052+ bool(false)
054+
055+ Warning: fileatime(): open_basedir restriction in effect. File(../ok/ok.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 131
056+ bool(false)
057+
058+ Warning: fileatime(): 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 133
059+ bool(false)
060+
061+ Warning: fileatime(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/ok/../ok/ok.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 134
062+ 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: fileatime(): open_basedir restriction in effect. File(../bad) 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: fileatime(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
012- bool(false)
013-
014- Warning: fileatime(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
015- bool(false)
016-
017- Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
018- bool(false)
019-
020- Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
021- bool(false)
022-
023- Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024- bool(false)
025-
026- Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
027- bool(false)
028-
029- Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
030- bool(false)
031-
032- Warning: fileatime(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
033- bool(false)
034- int(%d)
035- int(%d)
036- int(%d)
037- int(%d)
038- int(%d)
039- *** Finished testing open_basedir configuration [fileatime] ***
1 (6%)
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: fileatime(): open_basedir restriction in effect. File(../bad) 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: fileatime(): open_basedir restriction in effect. File(../bad/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
014- Warning: fileatime(): open_basedir restriction in effect. File(..) 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/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
017- Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
020- Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
023- Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
024+ Warning: fileatime(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 78
026- Warning: fileatime(): 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: fileatime(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 79
029- Warning: fileatime(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
030+ Warning: fileatime(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 80
033+ Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 81
034- int(%d)
035- int(%d)
036- int(%d)
037- int(%d)
038- int(%d)
036+ Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 82
037+ bool(false)
038+
039+ Warning: fileatime(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 83
040+ bool(false)
041+
042+ Warning: fileatime(): 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 85
043+ bool(false)
044+
045+ Warning: fileatime(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 86
046+ bool(false)
047+
050+
051+ Warning: fileatime(): open_basedir restriction in effect. File(../ok) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 129
052+ bool(false)
053+
054+ Warning: fileatime(): stat failed for ok.txt in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 130
055+ bool(false)
056+
057+ Warning: fileatime(): open_basedir restriction in effect. File(../ok/ok.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 131
058+ bool(false)
059+
060+ Warning: fileatime(): 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 133
061+ bool(false)
062+
063+ Warning: fileatime(): open_basedir restriction in effect. File(/home/edgarsandi/proj/personal/php-src/test/ok/../ok/ok.txt) is not within the allowed path(s): (.) in /home/edgarsandi/proj/personal/php-src/tests/security/open_basedir.inc on line 134
064+ bool(false)