From: Felipe Pena Date: Sun, 18 May 2008 00:47:22 +0000 (+0000) Subject: - Added UEXPECTF X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1740 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87d80cf81a35777984e3630330e333826d49110e;p=php - Added UEXPECTF --- diff --git a/ext/phar/tests/zip/refcount1.phpt b/ext/phar/tests/zip/refcount1.phpt index 6f2db37d5a..ba1a32361e 100644 --- a/ext/phar/tests/zip/refcount1.phpt +++ b/ext/phar/tests/zip/refcount1.phpt @@ -49,6 +49,27 @@ include $alias . '/b/c.php'; --EXPECTF-- ===CLOSE=== +object(PharFileInfo)#%d (2) { + ["pathName":"SplFileInfo":private]=> + string(%d) "phar://%srefcount1.phar.zip/b" + ["fileName":"SplFileInfo":private]=> + string(%d) "phar://%srefcount1.phar.zip/b/c.php" +} +string(5) "extra" +===UNLINK=== + +Warning: unlink(): phar error: "b/c.php" in phar "%srefcount1.phar.zip", has open file pointers, cannot unlink in %srefcount1.php on line %d +object(PharFileInfo)#%d (2) { + ["pathName":"SplFileInfo":private]=> + string(%d) "phar://%srefcount1.phar.zip/b" + ["fileName":"SplFileInfo":private]=> + string(%s) "phar://%srefcount1.phar.zip/b/c.php" +} +string(5) "extra" +extra +===DONE=== +--UEXPECTF-- +===CLOSE=== object(PharFileInfo)#%d (2) { [u"pathName":u"SplFileInfo":private]=> string(%d) "phar://%srefcount1.phar.zip/b"