nextcloud/tests/lib
Lukas Reschke 68cf6681e5 Add flock to config
This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070

Testplan:

- [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable
- [ ] Installation still works
- [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu)
- [ ] Your PC didn't blow up
- [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation

Only skip the main config

Otherwise read only additional configs might not be processed

Test on tmpdir
2014-09-30 15:53:27 +02:00
..
appframework Allow default values for route parameters. 2014-09-09 23:00:29 +02:00
archive Fix windows tests skipping 2014-08-21 08:50:39 +02:00
backgroundjob Add unit tests for JobList 2014-02-12 13:52:13 +01:00
cache fixing cache routes 2014-09-22 13:38:46 -04:00
connector/sabre Fix dav permissions for folders without create permissions 2014-09-25 14:01:19 +02:00
contacts function declaration did not match 2014-07-29 00:34:02 +02:00
db Fix unit test messing up the transaction on Oracle 2014-08-20 23:14:06 +02:00
files Resolves cache tests failing if the directory length is longer than 64 2014-09-17 16:24:43 -04:00
group Merge pull request #9225 from voxsim/fix_displayNamesInGroup 2014-09-22 12:13:15 +02:00
hooks forward previously registerd hooks 2013-07-08 16:54:26 +02:00
memcache Ensure memcached extension is there before attempting to create an instance. 2013-12-09 14:33:26 +01:00
ocs kill OC::$session 2014-08-29 10:22:21 +02:00
public class Test_Config is already declared 2014-04-08 14:15:33 +02:00
repair Added repair step for legacy storages 2014-08-20 23:14:05 +02:00
security Remove unused and overflowing function 2014-09-18 10:21:28 +02:00
session make PHPUnit happy and add asserts 2013-06-28 14:37:52 +02:00
share fix unit tests 2014-09-24 14:02:02 +02:00
template Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
user add tests 2014-06-23 18:33:13 +02:00
activitymanager.php Adding new interface \OCP\Activity\IExtentsion 2014-07-08 09:04:37 +02:00
api.php Fix test case for api response code 2014-04-03 14:47:55 +00:00
app.php Added unit tests for cache of enabled apps 2014-09-03 11:01:59 +02:00
appconfig.php port of #9500 2014-07-08 16:32:01 +02:00
archive.php drop SimpleTest compatibility 2013-01-24 16:47:17 +01:00
autoloader.php fix unit tests 2013-10-02 11:25:44 +02:00
avatar.php Make OC_Avatar unit tests independent of currently loggedin user 2014-01-02 16:08:08 +01:00
cache.php updating php docs 2013-09-18 22:22:51 +02:00
config.php Add flock to config 2014-09-30 15:53:27 +02:00
db.php Fix ILIKE without wildcards for oracle 2014-09-18 15:09:57 +02:00
dbschema.php - fix dropTable() and introduce tableExists() 2014-05-30 23:34:42 +02:00
errorHandler.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
geo.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00
group.php adjust license headers to new mail address 2014-05-11 17:54:08 +02:00
helper.php Adding test helper to test private methods 2014-09-26 10:23:41 -04:00
helperstorage.php Added experimental switch to count external storage data in quota 2014-06-04 16:08:59 +02:00
httphelper.php Do only follow HTTP and HTTPS redirects 2014-09-22 20:02:32 +02:00
image.php Preserve transparency when loading from a file 2014-09-10 23:49:21 +02:00
installer.php fix unit tests 2014-06-05 16:32:12 +02:00
l10n.php Some tests for OC_L10N::findLanguage() 2013-10-23 15:41:15 +02:00
largefilehelper.php Add helper method for turning int|float into base-10 unsigned integer string. 2014-05-29 16:26:01 +02:00
largefilehelpergetfilesize.php fixing cache routes 2014-09-22 13:38:46 -04:00
logger.php fix logger implementation and test 2014-07-15 10:10:16 +02:00
mail.php idn_to_ascii is only used if available 2014-03-26 11:17:23 +01:00
migrate.php Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
naturalsort.php Fixed sort algo for additional cases 2014-08-11 13:28:53 +02:00
preferences-singleton.php Minor fixes 2014-08-05 16:53:28 +02:00
preferences.php Minor fixes 2014-08-05 16:53:28 +02:00
preview.php Remove unneeded unit tests 2014-09-22 16:50:08 +02:00
repair.php Added RepairStep interface and default repair step lists 2014-06-12 17:38:26 +02:00
request.php Add support for getting the real client IP behind proxies 2014-08-27 00:05:04 +02:00
streamwrappers.php add seek and tell to streamwrapper test 2014-09-21 22:47:40 +02:00
tags.php Yet another cleanup 2014-03-05 00:26:06 +01:00
template.php adjust license headers to new mail address 2014-05-11 17:54:08 +02:00
updater.php Prevent updates between multiple major versions 2014-09-18 17:56:06 +02:00
urlgenerator.php Add unit test 2014-09-08 17:12:44 +02:00
user.php Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
util.php Merge pull request #11222 from owncloud/store-users-timezone-master 2014-09-23 13:45:21 +02:00
utilcheckserver.php Don't complain about non-writable datadirs before we're installed 2014-09-18 13:33:13 +02:00
vobject.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00