tony2001 Thu Jan 8 22:03:40 2009 UTC Modified files: (Branch: PHP_5_2) /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&r2=1.1.2.3&diff_format=u Index: php-src/ext/zip/tests/bug11216.phpt diff -u php-src/ext/zip/tests/bug11216.phpt:1.1.2.2 php-src/ext/zip/tests/bug11216.phpt:1.1.2.3 --- php-src/ext/zip/tests/bug11216.phpt:1.1.2.2 Sun Jun 3 21:21:57 2007 +++ php-src/ext/zip/tests/bug11216.phpt Thu Jan 8 22:03:40 2009 @@ -2,7 +2,7 @@ Bug #11216 (::addEmptyDir() crashes when the directory already exists) --SKIPIF-- <?php -/* $Id: bug11216.phpt,v 1.1.2.2 2007/06/03 21:21:57 pajoye Exp $ */ +/* $Id: bug11216.phpt,v 1.1.2.3 2009/01/08 22:03:40 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.3&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.3 --- 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:40 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.5&r2=1.1.2.6&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.5 php-src/ext/zip/tests/oo_properties.phpt:1.1.2.6 --- php-src/ext/zip/tests/oo_properties.phpt:1.1.2.5 Mon Nov 19 11:12:36 2007 +++ php-src/ext/zip/tests/oo_properties.phpt Thu Jan 8 22:03:40 2009 @@ -2,7 +2,7 @@ ziparchive::properties isset()/empty() checks --SKIPIF-- <?php -/* $Id: oo_properties.phpt,v 1.1.2.5 2007/11/19 11:12:36 tony2001 Exp $ */ +/* $Id: oo_properties.phpt,v 1.1.2.6 2009/01/08 22:03:40 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