[evolution] tests: run pkexec journalctl
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] tests: run pkexec journalctl
- Date: Sun, 11 May 2014 18:05:36 +0000 (UTC)
commit 1e30dcaf8d9cf166f331617decc7b08c39b98eff
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Fri May 9 01:27:55 2014 +0200
tests: run pkexec journalctl
tests/environment.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/environment.py b/tests/environment.py
index 0a8dc5c..fdccd1a 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]