From 87d80cf81a35777984e3630330e333826d49110e Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sun, 18 May 2008 00:47:22 +0000 Subject: [PATCH] - Added UEXPECTF --- ext/phar/tests/zip/refcount1.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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" -- 2.50.1