ant             Thu May  1 12:36:46 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/standard/tests/dir     open_basedir_opendir.phpt 
                                        open_basedir_dir.phpt 
  Log:
  open_basedir tests for directory functions
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/open_basedir_opendir.phpt?r1=1.1.2.2&r2=1.1.2.3&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.2.2 
php-src/ext/standard/tests/dir/open_basedir_opendir.phpt:1.1.2.3
--- php-src/ext/standard/tests/dir/open_basedir_opendir.phpt:1.1.2.2    Thu May 
 1 11:46:18 2008
+++ php-src/ext/standard/tests/dir/open_basedir_opendir.phpt    Thu May  1 
12:36:46 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] ***
 
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/dir/open_basedir_dir.phpt?r1=1.1.2.2&r2=1.1.2.3&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.2.2 
php-src/ext/standard/tests/dir/open_basedir_dir.phpt:1.1.2.3
--- php-src/ext/standard/tests/dir/open_basedir_dir.phpt:1.1.2.2        Thu May 
 1 11:46:18 2008
+++ php-src/ext/standard/tests/dir/open_basedir_dir.phpt        Thu May  1 
12:36:46 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"]=>



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to