diff options
Diffstat (limited to 'ext/phar/tests/017.phpt')
-rw-r--r-- | ext/phar/tests/017.phpt | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/phar/tests/017.phpt b/ext/phar/tests/017.phpt deleted file mode 100644 index a0c1926de7..0000000000 --- a/ext/phar/tests/017.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Phar: opendir test - no dir specified at all ---SKIPIF-- -<?php if (!extension_loaded("phar")) print "skip"; ?> ---INI-- -phar.require_hash=0 ---FILE-- -<?php -$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php'; -$pname = 'phar://' . $fname; -$file = "<?php -Phar::mapPhar('hio'); -__HALT_COMPILER(); ?>"; - -$files = array(); -$files['a'] = 'abc'; -include 'phar_test.inc'; - -include $fname; -$dir = opendir('phar://hio'); -?> ---CLEAN-- -<?php unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.phar.php'); ?> ---EXPECTF-- -Warning: opendir(phar://hio): failed to open dir: phar error: no directory in "phar://hio", must have at least phar://hio/ for root directory (always use full path to a new phar) in %s on line %d |