[tracker] Right command in the tests script



commit a12da966a34e09ddc53395ce12e3c82f68bbe30a
Author: Ivan Frade <ivan frade nokia com>
Date:   Thu Oct 15 22:00:29 2009 +0300

    Right command in the tests script

 tests/functional-tests/tests.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/functional-tests/tests.xml b/tests/functional-tests/tests.xml
index b81e016..4f7318d 100644
--- a/tests/functional-tests/tests.xml
+++ b/tests/functional-tests/tests.xml
@@ -11,13 +11,13 @@
       <!-- At least one case per set, name mandatory, description mandatory, other optional -->
       <case name="test_simple_insertion" type="unit" 
             description="Insert and check results" requirement="01" timeout="5" subfeature="">
-        <!-- At least one step per test, expected_result optional - tells which return code is considered passed -->
-        <step expected_result="0">python /usr/share/tracker-tests/01-insertion.py</step>
+        <!-- dbus env variables defined here. This works. -->
+        <step expected_result="0">. /tmp/session_bus_address.user; python2.5 /usr/share/tracker-tests/01-insertion.py</step>
       </case>
  
       <!-- Environments optional - tells where the tests are run -->
       <environments>
-        <scratchbox>false</scratchbox>
+        <scratchbox>true</scratchbox>
         <hardware>true</hardware>    
       </environments>
  



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