diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/environment.py b/tests/environment.py index e11c1a4453..13b35a453c 100644 --- a/tests/environment.py +++ b/tests/environment.py @@ -59,7 +59,7 @@ def after_scenario(context, scenario): try: # Attach journalctl logs if hasattr(context, "embed"): - os.system("pkexec journalctl /usr/bin/gnome-session --no-pager -o cat --since='%s'> /tmp/journal-session.log" % context.log_start_time) + os.system("journalctl /usr/bin/gnome-session --no-pager -o cat --since='%s'> /tmp/journal-session.log" % context.log_start_time) data = open("/tmp/journal-session.log", 'r').read() if data: context.embed('text/plain', data) |