summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2014-12-22 14:17:03 +0000
committerSam Thursfield <sam@afuera.me.uk>2014-12-22 14:17:29 +0000
commite380e53d503fd7e250ba0c1b3732cb9afa85bd82 (patch)
tree978ec835cc60af7023323db43acd4e2ea2831296
parent41e6ab84e7a540b20f8173c2bbaee11de6ef381f (diff)
downloadtracker-e380e53d503fd7e250ba0c1b3732cb9afa85bd82.tar.gz
functional-tests: Fix bad calls to `tracker daemon` command
-rw-r--r--tests/functional-tests/common/utils/helpers.py2
-rw-r--r--tests/functional-tests/common/utils/system.py2
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 1eeb771b9..5ad4a4fef 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 9db5c89fa..eec53cbb6 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):