Issue Bug Closed

#22391Unit test failures in t3lib_cache_backend_FileBackendTestCase with open_basedir = Off

Oliver Klee 04/07/10, 11:06 updated 10/02/18, 12:25

Description

Using the latest trunk, I get the following test failures:

Testsuite: t3lib_cache_backend_FileBackendTestCase

defaultCacheDirectoryIsWritable
! Failure in test case defaultCacheDirectoryIsWritable
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 91:
Description
The default cache directory “typo3temp/cache/testing/” is not writable. Failed asserting that <boolean:false> is true.</boolean:false>

getCacheDirectoryReturnsThePreviouslySetDirectory
! Failure in test case getCacheDirectoryReturnsThePreviouslySetDirectory
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 118:
Description
getDirectory() did not return the expected value. Failed asserting that <string:typo3temp cache testing></string:typo3temp> is equal to <string: home klee public_html formidable typo3temp cache testing></string:>.

setReallySavesToTheSpecifiedDirectory
! Failure in test case setReallySavesToTheSpecifiedDirectory
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 175:
Description
File does not exist. Failed asserting that <boolean:false> is true.</boolean:false>

setOverwritesAnAlreadyExistingCacheEntryForTheSameIdentifier
! Failure in test case setOverwritesAnAlreadyExistingCacheEntryForTheSameIdentifier
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 219:
Description
File does not exist. Failed asserting that <boolean:false> is true.</boolean:false>

setReallySavesSpecifiedTags
! Failure in test case setReallySavesSpecifiedTags
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 250:
Description
Tag directory UnitTestTag%tag1 does not exist. Failed asserting that <boolean:false> is true.</boolean:false>

removeReallyRemovesACacheEntry
! Failure in test case removeReallyRemovesACacheEntry
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 352:
Description
The cache entry does not exist. Failed asserting that <boolean:false> is true.</boolean:false>

collectGarbageReallyRemovesAnExpiredCacheEntry
! Failure in test case collectGarbageReallyRemovesAnExpiredCacheEntry
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 391:
Description
The cache entry does not exist. Failed asserting that <boolean:false> is true.</boolean:false>

collectGarbageReallyRemovesAllExpiredCacheEntries
! Failure in test case collectGarbageReallyRemovesAllExpiredCacheEntries
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 440:
Description
The cache entries do not exist. Failed asserting that <boolean:false> is true.</boolean:false>

setWithUnlimitedLifetimeWritesCorrectEntry
! Failure in test case setWithUnlimitedLifetimeWritesCorrectEntry
File: /home/klee/eclipse/typo3_src/tests/t3lib/cache/backend/t3lib_cache_backend_filebackendtestcase.php
Line: 711:
Description
File not found. Failed asserting that <boolean:false> is true.</boolean:false>

(issue imported from #M14019)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.