]> source.dussan.org Git - nextcloud-server.git/commit
Added backup for config.php in autotest.sh script
authorVincent Petry <pvince81@owncloud.com>
Thu, 3 Oct 2013 10:53:13 +0000 (12:53 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 3 Oct 2013 10:53:13 +0000 (12:53 +0200)
commit9cf25c8048c56050594d39b9a37be60e2e37bb54
tree1da282d9967f644551d6e0c685e224406e6f9372
parentde175a4b0f0971c9cbbf912bbc3fd8cbc190b53d
Added backup for config.php in autotest.sh script

The script now checks for config.php existance and backs it up before
running the test, then restores it back at the end. This avoids the
situation where devs lose their manually edited config if they forgot to
back it up before running the unit tests.

The script now also checks for config.php permissions beforehand to
avoid displaying an annoying HTML page output in the console with an
error message.
autotest.sh