[tracker] functional-tests: Fix bad calls to `tracker daemon` command



commit e380e53d503fd7e250ba0c1b3732cb9afa85bd82
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Dec 22 14:17:03 2014 +0000

    functional-tests: Fix bad calls to `tracker daemon` command

 tests/functional-tests/common/utils/helpers.py |    2 +-
 tests/functional-tests/common/utils/system.py  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index 1eeb771..5ad4a4f 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -575,7 +575,7 @@ class MinerFsHelper (Helper):
                 FNULL = open ('/dev/null', 'w')
                 kws = { 'stdout': FNULL }
 
-            subprocess.call ([control_binary, "daemon --kill=miners"], **kws)
+            subprocess.call ([control_binary, "daemon", "--kill=miners"], **kws)
 
         return False
 
diff --git a/tests/functional-tests/common/utils/system.py b/tests/functional-tests/common/utils/system.py
index 9db5c89..eec53cb 100644
--- a/tests/functional-tests/common/utils/system.py
+++ b/tests/functional-tests/common/utils/system.py
@@ -214,7 +214,7 @@ class TrackerSystemAbstraction:
     def __stop_tracker_processes (self):
         control_binary = os.path.join (cfg.BINDIR, "tracker")
         FNULL = open('/dev/null', 'w')
-        subprocess.call ([control_binary, "daemon -t"], stdout=FNULL)
+        subprocess.call ([control_binary, "daemon", "-t"], stdout=FNULL)
         time.sleep (1)
 
     def __recreate_directory (self, directory):


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