From: Greg Beaver Date: Sun, 25 Nov 2007 05:15:50 +0000 (+0000) Subject: new test for dir iteration (covers some code missing in gcov tests) X-Git-Tag: RELEASE_2_0_0a1~1279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38fc1fbc355f788e433a9dfcd74e5fa26fb52c21;p=php new test for dir iteration (covers some code missing in gcov tests) --- diff --git a/ext/phar/tests/phar_dir_iterate.phpt b/ext/phar/tests/phar_dir_iterate.phpt new file mode 100644 index 0000000000..a0a283a862 --- /dev/null +++ b/ext/phar/tests/phar_dir_iterate.phpt @@ -0,0 +1,31 @@ +--TEST-- +Phar object: iterate test with sub-directories and RecursiveIteratorIterator +--SKIPIF-- + + +--INI-- +phar.readonly=0 +phar.require_hash=0 +--FILE-- + $obj) { + var_dump($obj->getPathName()); +} +?> +===DONE=== +--CLEAN-- + +--EXPECTF-- +string(%d) "phar://%stest.phar/another.file.txt" +string(%d) "phar://%stest.phar/sub/top.txt" +string(%d) "phar://%stest.phar/top.txt" +===DONE===