From: Greg Beaver Date: Fri, 25 Apr 2008 04:31:44 +0000 (+0000) Subject: fix tests on windows X-Git-Tag: RELEASE_2_0_0b1~214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6036559d355865d3ae1f12c144951a989b71c7a7;p=php fix tests on windows --- diff --git a/ext/phar/tests/pharfileinfo_compression.phpt b/ext/phar/tests/pharfileinfo_compression.phpt index 954454b760..fbac499127 100644 --- a/ext/phar/tests/pharfileinfo_compression.phpt +++ b/ext/phar/tests/pharfileinfo_compression.phpt @@ -75,7 +75,7 @@ var_dump($b->decompress()); --CLEAN-- ---EXPECT-- +--EXPECTF-- Warning: PharFileInfo::isCompressed() expects parameter 1 to be long, array given in %spharfileinfo_compression.php on line 11 Unknown compression type specified Unknown compression type specified diff --git a/ext/phar/tests/pharfileinfo_getcrc32.phpt b/ext/phar/tests/pharfileinfo_getcrc32.phpt index 4d88737b1e..dfa12f4ca4 100644 --- a/ext/phar/tests/pharfileinfo_getcrc32.phpt +++ b/ext/phar/tests/pharfileinfo_getcrc32.phpt @@ -42,8 +42,8 @@ echo $e->getMessage() . "\n"; ===DONE=== --CLEAN-- ---EXPECT-- +--EXPECTF-- Phar entry is a directory, does not have a CRC Phar entry was not CRC checked -int(3904355907) +int(%s) ===DONE=== \ No newline at end of file