Skip to content
Snippets Groups Projects
  • Vincent Petry's avatar
    9cf25c80
    Added backup for config.php in autotest.sh script · 9cf25c80
    Vincent Petry authored
    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.
    9cf25c80
    History
    Added backup for config.php in autotest.sh script
    Vincent Petry authored
    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.