anchor.diff:  ::  - to enable dropdb I decided to add following line to pg_hba.conf (this is not the safest way but I don't care for the testing machine):
   :: local	all	all	trust
   ::
  +:: NOTES on mssql:
  +::  we assume the usage of a local installed sqlexpress
  +::  create a user 'oc_autotest' with password 'owncloud' and assign the server role 'dbcreator'
  +::  make sure the sqlserver is configured to allow sql authentication
  +::
   
  +
  
positive.code: :: @author Thomas Müller
  :: @author Tobias Ramforth (translated into Windows batch file)
  ::
  :: @copyright 2012 Thomas Müller thomas.mueller@tmit.eu
  ::
  @echo off
  
  set DATADIR=data-autotest
  set BASEDIR=%~dp0
  
  :: create autoconfig for sqlite, mysql and postgresql
  echo ^<?php                                      > .\tests\autoconfig-sqlite.php
  echo $AUTOCONFIG ^= array ^(                     >> .\tests\autoconfig-sqlite.php
  echo  'installed' ^=^> false^,                   >> .\tests\autoconfig-sqlite.php
  
negative.code: 	if "%~1" == "mysql" mysql -u oc_autotest -powncloud -e "DROP DATABASE oc_autotest"
  	
  	if "%~1" == "pgsql" dropdb -h localhost -p 5432 -U oc_autotest -w oc_autotest
  
  	:: we assume a sqlexpress installation
  	if "%~1" == "mssql" sqlcmd -S localhost\sqlexpress -U oc_autotext -P owncloud -Q "IF EXISTS (SELECT name FROM sys.databases WHERE name=N'oc_autotest') DROP DATABASE [oc_autotest]"
  	
  	:: copy autoconfig
  	copy /y %BASEDIR%\tests\autoconfig-%~1.php %BASEDIR%\config\autoconfig.php
  