ant Thu May 1 12:36:44 2008 UTC
Modified files:
/php-src/ext/standard/tests/dir open_basedir_dir.phpt
open_basedir_opendir.phpt
Log:
open_basedir tests for directory functions
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/open_basedir_dir.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/dir/open_basedir_dir.phpt
diff -u php-src/ext/standard/tests/dir/open_basedir_dir.phpt:1.1
php-src/ext/standard/tests/dir/open_basedir_dir.phpt:1.2
--- php-src/ext/standard/tests/dir/open_basedir_dir.phpt:1.1 Thu May 1
11:46:17 2008
+++ php-src/ext/standard/tests/dir/open_basedir_dir.phpt Thu May 1
12:36:44 2008
@@ -66,19 +66,19 @@
Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not
permitted in %s on line %d
bool(false)
-object(Directory)#1 (2) {
+object(Directory)#%d (2) {
["path"]=>
string(%d) "%s/test/ok/"
["handle"]=>
resource(%d) of type (stream)
}
-object(Directory)#1 (2) {
+object(Directory)#%d (2) {
["path"]=>
string(%d) "%s/test/ok"
["handle"]=>
resource(%d) of type (stream)
}
-object(Directory)#1 (2) {
+object(Directory)#%d (2) {
["path"]=>
string(%d) "%s/test/ok/../ok"
["handle"]=>
@@ -132,19 +132,19 @@
Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation not
permitted in %s on line %d
bool(false)
-object(Directory)#1 (2) {
+object(Directory)#%d (2) {
[u"path"]=>
unicode(%d) "%s/test/ok/"
[u"handle"]=>
resource(%d) of type (stream)
}
-object(Directory)#1 (2) {
+object(Directory)#%d (2) {
[u"path"]=>
unicode(%d) "%s/test/ok"
[u"handle"]=>
resource(%d) of type (stream)
}
-object(Directory)#1 (2) {
+object(Directory)#%d (2) {
[u"path"]=>
unicode(%d) "%s/test/ok/../ok"
[u"handle"]=>
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/open_basedir_opendir.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/dir/open_basedir_opendir.phpt
diff -u php-src/ext/standard/tests/dir/open_basedir_opendir.phpt:1.1
php-src/ext/standard/tests/dir/open_basedir_opendir.phpt:1.2
--- php-src/ext/standard/tests/dir/open_basedir_opendir.phpt:1.1 Thu May
1 11:46:17 2008
+++ php-src/ext/standard/tests/dir/open_basedir_opendir.phpt Thu May 1
12:36:44 2008
@@ -66,8 +66,8 @@
Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: Operation
not permitted in %s on line %d
bool(false)
-resource(8) of type (stream)
-resource(9) of type (stream)
-resource(10) of type (stream)
+resource(%d) of type (stream)
+resource(%d) of type (stream)
+resource(%d) of type (stream)
*** Finished testing open_basedir configuration [opendir] ***
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php