Commit 354b52e4 authored by Martyn Welch's avatar Martyn Welch

Respond to tracker reset confirmation

Tracker reset now asks for confirmation before deleting index. This needs
to be answered if we want to successfully run the command and thus our
tests.
Signed-off-by: 's avatarMartyn Welch <martyn.welch@collabora.com>
parent 4be98c4b
......@@ -27,7 +27,7 @@ class TrackerIndexerMixin:
shell=True)
print("TrackerIndexerMixin: Reset tracker's DB")
subprocess.check_call('tracker reset -r',
subprocess.check_call('yes | tracker reset -r',
stdout=subprocess.DEVNULL,
shell=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment