From 1ca0e24ee3e6cd874c878d3fc39cc82ea6640f6c Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sun, 22 Sep 2013 12:54:42 +0000 Subject: [PATCH] adds deep copy test git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1379 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- tests/xcache_deep_copy_arg_info.phpt | 15 +++++++++++++++ tests/xcache_deep_copy_static_variables.phpt | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tests/xcache_deep_copy_arg_info.phpt create mode 100644 tests/xcache_deep_copy_static_variables.phpt diff --git a/tests/xcache_deep_copy_arg_info.phpt b/tests/xcache_deep_copy_arg_info.phpt new file mode 100644 index 0000000..d398c93 --- /dev/null +++ b/tests/xcache_deep_copy_arg_info.phpt @@ -0,0 +1,15 @@ +--TEST-- +xcache requires deep copying arg info +--INI-- +xcache.readonly_protection=0 +--FILE-- + +--EXPECT-- +12 diff --git a/tests/xcache_deep_copy_static_variables.phpt b/tests/xcache_deep_copy_static_variables.phpt new file mode 100644 index 0000000..b019e3a --- /dev/null +++ b/tests/xcache_deep_copy_static_variables.phpt @@ -0,0 +1,11 @@ +--TEST-- +xcache requires deep copying static variables in shallow copy mode +--INI-- +xcache.readonly_protection=0 +--FILE-- + +--EXPECT-- +1