[evolution] tests: don't use pkexec
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] tests: don't use pkexec
- Date: Tue, 10 Jun 2014 14:33:12 +0000 (UTC)
commit fd1c0e1dad183e41527a0c9412c7aeeffd3454b5
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Jun 10 13:13:14 2014 +0200
tests: don't use pkexec
tests/environment.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/environment.py b/tests/environment.py
index e11c1a4..13b35a4 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]