fixing reset on autotest

This commit is contained in:
Thomas Mueller 2012-07-15 13:49:11 +02:00
parent dd95149238
commit a1b9b4b43e
1 changed files with 5 additions and 0 deletions

View File

@ -26,11 +26,14 @@ php -f index.php
echo 'Testing with sqlite ...' echo 'Testing with sqlite ...'
cd tests cd tests
php -f index.php -- xml > autotest-results-sqlite.xml php -f index.php -- xml > autotest-results-sqlite.xml
cd ..
git checkout tests/data/*
# #
# mysql testing now # mysql testing now
# #
# NOTES: # NOTES:
# - CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY 'owncloud';
# - grant access permissions: grant all on oc_autotest.* to 'oc_autotest'@'localhost'; # - grant access permissions: grant all on oc_autotest.* to 'oc_autotest'@'localhost';
# #
echo "Setup environment for MySql testing ..." echo "Setup environment for MySql testing ..."
@ -65,6 +68,8 @@ php -f index.php
echo 'Testing with MySql ...' echo 'Testing with MySql ...'
cd tests cd tests
php -f index.php -- xml > autotest-results-MySql.xml php -f index.php -- xml > autotest-results-MySql.xml
cd ..
git checkout tests/data/*
# #
# TODO: create config for postgres # TODO: create config for postgres