tony2001                Thu Jan  8 22:00:28 2009 UTC

  Modified files:              
    /php-src/ext/zip/tests      bug11216.phpt bug38944.phpt 
                                oo_properties.phpt 
  Log:
  fix tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/tests/bug11216.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/zip/tests/bug11216.phpt
diff -u php-src/ext/zip/tests/bug11216.phpt:1.2 
php-src/ext/zip/tests/bug11216.phpt:1.3
--- php-src/ext/zip/tests/bug11216.phpt:1.2     Sun Jun  3 21:30:12 2007
+++ php-src/ext/zip/tests/bug11216.phpt Thu Jan  8 22:00:27 2009
@@ -2,7 +2,7 @@
 Bug #11216 (::addEmptyDir() crashes when the directory already exists)
 --SKIPIF--
 <?php
-/* $Id: bug11216.phpt,v 1.2 2007/06/03 21:30:12 pajoye Exp $ */
+/* $Id: bug11216.phpt,v 1.3 2009/01/08 22:00:27 tony2001 Exp $ */
 if(!extension_loaded('zip')) die('skip');
  ?>
 --FILE--
@@ -22,7 +22,7 @@
     [status] => 0
     [statusSys] => 0
     [numFiles] => 1
-    [filename] => 
+    [filename] => %s 
     [comment] => 
 )
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/tests/bug38944.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/zip/tests/bug38944.phpt
diff -u php-src/ext/zip/tests/bug38944.phpt:1.4 
php-src/ext/zip/tests/bug38944.phpt:1.5
--- php-src/ext/zip/tests/bug38944.phpt:1.4     Wed Nov 12 11:24:48 2008
+++ php-src/ext/zip/tests/bug38944.phpt Thu Jan  8 22:00:27 2009
@@ -23,7 +23,7 @@
 int(0)
 int(0)
 int(0)
-string(0) ""
+string(%d) "%s"
 string(0) ""
 object(ZipArchive)#1 (5) {
   ["status"]=>
@@ -33,7 +33,7 @@
   ["numFiles"]=>
   int(0)
   ["filename"]=>
-  string(0) ""
+  string(%d) "%s"
   ["comment"]=>
   string(0) ""
 }
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/tests/oo_properties.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/zip/tests/oo_properties.phpt
diff -u php-src/ext/zip/tests/oo_properties.phpt:1.3 
php-src/ext/zip/tests/oo_properties.phpt:1.4
--- php-src/ext/zip/tests/oo_properties.phpt:1.3        Mon Nov 19 11:12:21 2007
+++ php-src/ext/zip/tests/oo_properties.phpt    Thu Jan  8 22:00:27 2009
@@ -2,7 +2,7 @@
 ziparchive::properties isset()/empty() checks
 --SKIPIF--
 <?php
-/* $Id: oo_properties.phpt,v 1.3 2007/11/19 11:12:21 tony2001 Exp $ */
+/* $Id: oo_properties.phpt,v 1.4 2009/01/08 22:00:27 tony2001 Exp $ */
 if(!extension_loaded('zip')) die('skip');
 ?>
 --FILE--
@@ -51,8 +51,8 @@
 zip->numFiles (5):
        empty(): 0
        isset(): 1
-zip->filename (0):
-       empty(): 1
+zip->filename (%d):
+       empty(): 0
        isset(): 1
 zip->comment (19):
        empty(): 0



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

Reply via email to