[tracker] functional-tests: kill users tracker before starting the test



commit d2ba0ff60193a6849f45b896b2e53a2f8399c0ea
Author: Ivan Frade <ivan frade nokia com>
Date:   Wed Sep 29 19:47:12 2010 +0300

    functional-tests: kill users tracker before starting the test
    
    In the device tests run as a different user that the usual tracker
    but still sharing the same dbus. Kill the user tracker with
    tracker-control and sudo

 tests/functional-tests/create-tests-xml.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/functional-tests/create-tests-xml.py b/tests/functional-tests/create-tests-xml.py
index cc24d1a..81088dd 100755
--- a/tests/functional-tests/create-tests-xml.py
+++ b/tests/functional-tests/create-tests-xml.py
@@ -47,6 +47,7 @@ PRE_STEPS = """        <pre_steps>
            <step>pidof call-history|xargs kill -9</step>
            <step>initctl stop xsession/relevanced</step>
            <step>initctl stop xsession/tracker-miner</step>
+           <step>su - user -c "tracker-control -k"</step>
        </pre_steps>
 """
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]