[tracker] Functional tests: start daemon in the script (to use XDG vars)



commit e2aa8aea70d7de9dfaab28afd3c4bde476c2f81e
Author: Ivan Frade <ivan frade nokia com>
Date:   Mon May 10 19:13:45 2010 +0300

    Functional tests: start daemon in the script (to use XDG vars)

 .../functional-tests/force-sqlite-misused-batch.sh |    5 +++--
 tests/functional-tests/force-sqlite-misused.sh     |    5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/tests/functional-tests/force-sqlite-misused-batch.sh b/tests/functional-tests/force-sqlite-misused-batch.sh
index b0f2a93..2eab373 100755
--- a/tests/functional-tests/force-sqlite-misused-batch.sh
+++ b/tests/functional-tests/force-sqlite-misused-batch.sh
@@ -2,7 +2,8 @@
 
 source helper-test-data.sh
 
-echo "Ready, now running the test"
-python2.5 11-sqlite-batch-misused.py
+echo "Ready, now running the test (" $XDG_DATA_HOME ")"
+/usr/local/libexec/tracker-store -v 0 &
+/usr/bin/env python 11-sqlite-batch-misused.py
 
 
diff --git a/tests/functional-tests/force-sqlite-misused.sh b/tests/functional-tests/force-sqlite-misused.sh
index 853a608..9d0de40 100755
--- a/tests/functional-tests/force-sqlite-misused.sh
+++ b/tests/functional-tests/force-sqlite-misused.sh
@@ -2,7 +2,8 @@
 
 source helper-test-data.sh
 
-echo "Ready, now running the test"
-python2.5 10-sqlite-misused.py
+echo "Ready, now running the test (" $XDG_DATA_HOME ")"
+/usr/local/libexec/tracker-store -v 0 &
+/usr/bin/env python 10-sqlite-misused.py
 
 



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