| 1 |
lars |
1 |
--TEST--
|
|
|
2 |
Cache_Lite::Cache_Lite (error3)
|
|
|
3 |
--FILE--
|
|
|
4 |
<?php
|
|
|
5 |
|
|
|
6 |
require_once('callcache.inc');
|
|
|
7 |
require_once('tmpdir.inc');
|
|
|
8 |
require_once('cache_lite_base.inc');
|
|
|
9 |
|
|
|
10 |
$options = array(
|
|
|
11 |
'cacheDir' => tmpDir() . '31451992gjhgjh'. '/', # I hope there will be no directory with that silly name
|
|
|
12 |
'lifeTime' => 60,
|
|
|
13 |
'pearErrorMode' => CACHE_LITE_ERROR_DIE
|
|
|
14 |
);
|
|
|
15 |
|
|
|
16 |
$Cache_Lite = new Cache_Lite($options);
|
|
|
17 |
multipleCallCache();
|
|
|
18 |
|
|
|
19 |
?>
|
|
|
20 |
--GET--
|
|
|
21 |
--POST--
|
|
|
22 |
--EXPECT--
|
|
|
23 |
==> First call (cache should be missed)
|
|
|
24 |
Cache Missed !
|
|
|
25 |
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789Cache_Lite : Unable to write cache file : /tmp31451992gjhgjh/cache_c21f969b5f03d33d43e04f8f136e7682_e9982ec5ca981bd365603623cf4b2277
|