owncloud/core — pull request #5100 by PVince81 (2013-10-03 11:01:49+00:00)
Title: 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.

I'm not familiar with Windows scripting, so someone else might want to update autotest.cmd in a similar way.

@DeepDiver1975 @schiesbn @karlitschek please review.