From: Antony Dovgal Date: Thu, 8 Jan 2009 22:03:40 +0000 (+0000) Subject: fix tests X-Git-Tag: php-5.2.9RC1~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bad8ec1ca11475ceaa81b2ad33e7dc26c55872f;p=php fix tests --- diff --git a/ext/zip/tests/bug11216.phpt b/ext/zip/tests/bug11216.phpt index 607217ad72..7601e6af85 100644 --- a/ext/zip/tests/bug11216.phpt +++ b/ext/zip/tests/bug11216.phpt @@ -15,14 +15,14 @@ var_dump($archive->addEmptyDir('test')); $archive->close(); unlink('__test.zip'); ?> ---EXPECT-- +--EXPECTF-- bool(true) ZipArchive Object ( [status] => 0 [statusSys] => 0 [numFiles] => 1 - [filename] => + [filename] => %s [comment] => ) bool(false) diff --git a/ext/zip/tests/bug38944.phpt b/ext/zip/tests/bug38944.phpt index ee12fad2b3..7cff60c984 100644 --- a/ext/zip/tests/bug38944.phpt +++ b/ext/zip/tests/bug38944.phpt @@ -23,7 +23,7 @@ echo "Done\n"; int(0) int(0) int(0) -string(0) "" +string(%d) "%s" string(0) "" object(ZipArchive)#%d (5) { ["status"]=> @@ -33,7 +33,7 @@ object(ZipArchive)#%d (5) { ["numFiles"]=> int(0) ["filename"]=> - string(0) "" + string(%d) "%s" ["comment"]=> string(0) "" } diff --git a/ext/zip/tests/oo_properties.phpt b/ext/zip/tests/oo_properties.phpt index 7078f454cf..886317b57b 100644 --- a/ext/zip/tests/oo_properties.phpt +++ b/ext/zip/tests/oo_properties.phpt @@ -51,8 +51,8 @@ zip->status (0): zip->numFiles (5): empty(): 0 isset(): 1 -zip->filename (0): - empty(): 1 +zip->filename (%d): + empty(): 0 isset(): 1 zip->comment (19): empty(): 0