From 0ae255cde4e75bfad569a0e546b6ef86b921b881 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Tue, 23 May 2017 23:29:47 +0300
Subject: Remove temporary home directory in runtests.sh before testing.

---
 tools/ci/scripts/runtests.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/ci/scripts/runtests.sh b/tools/ci/scripts/runtests.sh
index 469bbadea..6965f1524 100755
--- a/tools/ci/scripts/runtests.sh
+++ b/tools/ci/scripts/runtests.sh
@@ -11,6 +11,7 @@ ulimit -c unlimited
 rm -rf core*
 
 export HOME="logs/home"
+rm -rf $HOME
 
 echo "clean config runs"
 n=0
@@ -33,6 +34,7 @@ echo "existing config runs"
 n=0
 while true; do
     echo "run test ${n}"
+    rm "${HOME}/.config/mana/mana/config.xml"
     ./tools/ci/scripts/runtest.sh
     if [ "$?" != 0 ]; then
         exit 1
-- 
cgit v1.2.3-70-g09d2