summaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-07-15 13:49:11 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-07-15 18:51:40 +0200
commita1b9b4b43e211fc2c87316ccf9660bb103e235e9 (patch)
treee51c719722f8ec378a9f820aa4ab8ba427a9f76e /autotest.sh
parentdd95149238ae8792e2ca322d404f6ab6cb09c926 (diff)
downloadnextcloud-server-a1b9b4b43e211fc2c87316ccf9660bb103e235e9.tar.gz
nextcloud-server-a1b9b4b43e211fc2c87316ccf9660bb103e235e9.zip
fixing reset on autotest
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/autotest.sh b/autotest.sh
index 06605687d1d..6863eec0320 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -26,11 +26,14 @@ php -f index.php
echo 'Testing with sqlite ...'
cd tests
php -f index.php -- xml > autotest-results-sqlite.xml
+cd ..
+git checkout tests/data/*
#
# mysql testing now
#
# NOTES:
+# - CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY 'owncloud';
# - grant access permissions: grant all on oc_autotest.* to 'oc_autotest'@'localhost';
#
echo "Setup environment for MySql testing ..."
@@ -65,6 +68,8 @@ php -f index.php
echo 'Testing with MySql ...'
cd tests
php -f index.php -- xml > autotest-results-MySql.xml
+cd ..
+git checkout tests/data/*
#
# TODO: create config for postgres