summaryrefslogtreecommitdiff
path: root/ext/phar/tests/cache_list/copyonwrite1.phar.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/tests/cache_list/copyonwrite1.phar.phpt')
-rw-r--r--ext/phar/tests/cache_list/copyonwrite1.phar.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/phar/tests/cache_list/copyonwrite1.phar.phpt b/ext/phar/tests/cache_list/copyonwrite1.phar.phpt
new file mode 100644
index 0000000..90b0a8f
--- /dev/null
+++ b/ext/phar/tests/cache_list/copyonwrite1.phar.phpt
@@ -0,0 +1,14 @@
+--TEST--
+Phar: copy-on-write test 1 [cache_list]
+--INI--
+default_charset=UTF-8
+phar.cache_list={PWD}/copyonwrite1.phar.php
+phar.readonly=0
+--SKIPIF--
+<?php if (!extension_loaded("phar")) die("skip"); ?>
+--FILE_EXTERNAL--
+files/write.phar
+--EXPECT--
+hi
+changed
+ok \ No newline at end of file