nextcloud/tests
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
..
acceptance correct delete-icon to icon-delete, fix #11128 2014-09-22 18:17:33 +02:00
data Remove unneeded unit tests 2014-09-22 16:50:08 +02:00
lib Add flock to config 2014-09-30 15:53:27 +02:00
apps.php load test cases from enabled apps 2012-10-08 14:26:51 +02:00
bootstrap.php Load apps in test situations 2014-09-10 17:28:25 +02:00
enable_all.php fix trash bin expire operation and add unit tests 2014-06-17 22:36:30 +02:00
karma.config.js Add timeout to user and group deletion notification 2014-09-15 14:04:44 +02:00
phpunit-autotest.xml adding StartSessionListener which initializes the session before each test case execution 2014-03-13 16:19:17 +01:00
phpunit.xml.dist adding StartSessionListener which initializes the session before each test case execution 2014-03-13 16:19:17 +01:00
preseed-config.php Update preseed-config.php 2014-06-13 00:07:43 +02:00
startsessionlistener.php kill OC::$session 2014-08-29 10:22:21 +02:00
testcleanuplistener.php don't clean up the test environment if a data provider was finished 2014-08-13 11:41:11 +02:00