diff options
author | Vadim Rutkovsky <vrutkovs@redhat.com> | 2014-05-09 07:27:55 +0800 |
---|---|---|
committer | Vadim Rutkovsky <vrutkovs@redhat.com> | 2014-05-11 02:53:27 +0800 |
commit | 1e30dcaf8d9cf166f331617decc7b08c39b98eff (patch) | |
tree | 89c7af908b944d9e26ac174e25df38db91454ee4 | |
parent | d164574886e7580d33ba9b6f0b0b68ac1f29ffea (diff) | |
download | gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.tar gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.tar.gz gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.tar.bz2 gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.tar.lz gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.tar.xz gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.tar.zst gsoc2013-evolution-1e30dcaf8d9cf166f331617decc7b08c39b98eff.zip |
tests: run pkexec journalctl
-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 0a8dc5c74c..fdccd1ad56 100644 --- a/tests/environment.py +++ b/tests/environment.py @@ -62,7 +62,7 @@ def after_scenario(context, scenario): # Attach journalctl logs if hasattr(context, "embed"): - os.system("journalctl /usr/bin/gnome-session --no-pager -o cat --since='%s'> /tmp/journal-session.log" % context.log_start_time) + os.system("pkexec 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) |