tony2001                Thu Jan  8 22:03:33 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /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.1.2.2.2.1&r2=1.1.2.2.2.2&diff_format=u
Index: php-src/ext/zip/tests/bug11216.phpt
diff -u php-src/ext/zip/tests/bug11216.phpt:1.1.2.2.2.1 
php-src/ext/zip/tests/bug11216.phpt:1.1.2.2.2.2
--- php-src/ext/zip/tests/bug11216.phpt:1.1.2.2.2.1     Wed May 21 09:27:41 2008
+++ php-src/ext/zip/tests/bug11216.phpt Thu Jan  8 22:03:32 2009
@@ -2,7 +2,7 @@
 Bug #11216 (::addEmptyDir() crashes when the directory already exists)
 --SKIPIF--
 <?php
-/* $Id: bug11216.phpt,v 1.1.2.2.2.1 2008/05/21 09:27:41 pajoye Exp $ */
+/* $Id: bug11216.phpt,v 1.1.2.2.2.2 2009/01/08 22:03:32 tony2001 Exp $ */
 if(!extension_loaded('zip')) die('skip');
  ?>
 --FILE--
@@ -15,14 +15,14 @@
 $archive->close();
 unlink('__test.zip');
 ?>
---EXPECT--
+--EXPECTF--
 bool(true)
 ZipArchive Object
 (
     [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.1.2.2&r2=1.1.2.2.2.1&diff_format=u
Index: php-src/ext/zip/tests/bug38944.phpt
diff -u php-src/ext/zip/tests/bug38944.phpt:1.1.2.2 
php-src/ext/zip/tests/bug38944.phpt:1.1.2.2.2.1
--- php-src/ext/zip/tests/bug38944.phpt:1.1.2.2 Mon Sep 25 08:45:08 2006
+++ php-src/ext/zip/tests/bug38944.phpt Thu Jan  8 22:03:32 2009
@@ -23,7 +23,7 @@
 int(0)
 int(0)
 int(0)
-string(0) ""
+string(%d) "%s"
 string(0) ""
 object(ZipArchive)#%d (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.1.2.4.2.2&r2=1.1.2.4.2.3&diff_format=u
Index: php-src/ext/zip/tests/oo_properties.phpt
diff -u php-src/ext/zip/tests/oo_properties.phpt:1.1.2.4.2.2 
php-src/ext/zip/tests/oo_properties.phpt:1.1.2.4.2.3
--- php-src/ext/zip/tests/oo_properties.phpt:1.1.2.4.2.2        Wed May 21 
09:27:41 2008
+++ php-src/ext/zip/tests/oo_properties.phpt    Thu Jan  8 22:03:32 2009
@@ -2,7 +2,7 @@
 ziparchive::properties isset()/empty() checks
 --SKIPIF--
 <?php
-/* $Id: oo_properties.phpt,v 1.1.2.4.2.2 2008/05/21 09:27:41 pajoye Exp $ */
+/* $Id: oo_properties.phpt,v 1.1.2.4.2.3 2009/01/08 22:03:32 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