From a1b9b4b43e211fc2c87316ccf9660bb103e235e9 Mon Sep 17 00:00:00 2001
From: Thomas Mueller <thomas.mueller@tmit.eu>
Date: Sun, 15 Jul 2012 13:49:11 +0200
Subject: [PATCH] fixing reset on autotest

---
 autotest.sh | 5 +++++
 1 file changed, 5 insertions(+)

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
-- 
GitLab