summaryrefslogtreecommitdiff
path: root/ext/phar/tests/033.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/033.phpt')
-rw-r--r--ext/phar/tests/033.phpt33
1 files changed, 0 insertions, 33 deletions
diff --git a/ext/phar/tests/033.phpt b/ext/phar/tests/033.phpt
deleted file mode 100644
index ddcc36ae54..0000000000
--- a/ext/phar/tests/033.phpt
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-Phar::chmod
---SKIPIF--
-<?php if (!extension_loaded("phar")) print "skip"; ?>
---INI--
-phar.readonly=0
-phar.require_hash=0
---FILE--
-<?php
-$fname = dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.1.phar.php';
-$pname = 'phar://hio';
-$file = '<?php include "' . $pname . '/a.php"; __HALT_COMPILER(); ?>';
-
-$files = array();
-$files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>';
-include 'phar_test.inc';
-$a = new Phar($fname);
-var_dump($a['a.php']->isExecutable());
-$a['a.php']->chmod(0777);
-var_dump($a['a.php']->isExecutable());
-$a['a.php']->chmod(0666);
-var_dump($a['a.php']->isExecutable());
-?>
-===DONE===
---CLEAN--
-<?php
-unlink(dirname(__FILE__) . '/' . basename(__FILE__, '.clean.php') . '.1.phar.php');
-?>
---EXPECTF--
-bool(false)
-bool(true)
-bool(false)
-===DONE===