aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/memcache/apc.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/memcache/apc.php')
-rw-r--r--tests/lib/memcache/apc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/memcache/apc.php b/tests/lib/memcache/apc.php
index 6b2a49470ba..e5d753a4fa5 100644
--- a/tests/lib/memcache/apc.php
+++ b/tests/lib/memcache/apc.php
@@ -15,6 +15,10 @@ class APC extends Cache {
$this->markTestSkipped('The apc extension is not available.');
return;
}
+ if(\OC\Memcache\APCu::isAvailable()) {
+ $this->markTestSkipped('The apc extension is emulated by ACPu.');
+ return;
+ }
$this->instance=new \OC\Memcache\APC(uniqid());
}
}