From: Steph Fox Date: Tue, 12 Feb 2008 16:55:50 +0000 (+0000) Subject: Add missing SKIPIF, rename vars for readability X-Git-Tag: RELEASE_2_0_0a1~501 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a5f1ba3a69778a92cc2d625c5c1ee9787080346;p=php Add missing SKIPIF, rename vars for readability --- diff --git a/ext/phar/tests/zf_test.phpt b/ext/phar/tests/zf_test.phpt index 32511d4cdc..7435f34d51 100644 --- a/ext/phar/tests/zf_test.phpt +++ b/ext/phar/tests/zf_test.phpt @@ -1,40 +1,47 @@ --TEST-- test broken app +--SKIPIF-- + --INI-- phar.readonly=0 --FILE-- startBuffering(); -$a->setStub("startBuffering(); +$phar->setStub("stopBuffering(); -foreach(new RecursiveIteratorIterator($a) as $f) { -echo str_replace('\\', '/', $f->getPathName()) . "\n"; +$phar->stopBuffering(); + +foreach(new RecursiveIteratorIterator($phar) as $path) { + echo str_replace('\\', '/', $path->getPathName()) . "\n"; } + ?> ===DONE=== --CLEAN-- --EXPECTF-- -phar://%szf_test.phar.php/application/default/controllers/ErrorController.php -phar://%szf_test.phar.php/application/default/controllers/IndexController.php -phar://%szf_test.phar.php/application/default/views/scripts/error/error.phtml -phar://%szf_test.phar.php/application/default/views/scripts/index/index.phtml -phar://%szf_test.phar.php/html/.htaccess -phar://%szf_test.phar.php/html/index.php +phar://%szf_test.phar/application/default/controllers/ErrorController.php +phar://%szf_test.phar/application/default/controllers/IndexController.php +phar://%szf_test.phar/application/default/views/scripts/error/error.phtml +phar://%szf_test.phar/application/default/views/scripts/index/index.phtml +phar://%szf_test.phar/html/.htaccess +phar://%szf_test.phar/html/index.php ===DONE===