From a9b8749ff4216219ca6f063ecbc35e88b7db7486 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Fri, 8 Jul 2016 11:54:08 +0200
Subject: [PATCH] Run dbus dos test as user

There is a session bus setup by systemd for the normal user, which is
the one all tests should use. Use that by simply running the test as
user user.

Fixes: https://phabricator.apertis.org/T1906

Reviewed-by: Luis Araujo <luis.araujo@collabora.co.uk>
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D3662
---
 dbus/dbus-dos-reply-time.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dbus/dbus-dos-reply-time.yaml b/dbus/dbus-dos-reply-time.yaml
index 4d8fefb..f9b7354 100644
--- a/dbus/dbus-dos-reply-time.yaml
+++ b/dbus/dbus-dos-reply-time.yaml
@@ -16,7 +16,7 @@ install:
 
 run:
   steps:
-    - common/run-test-in-systemd --basename --timeout=900 /usr/lib/apertis-tests/dbus/dos-reply-time/run-test.sh
+    - common/run-test-in-systemd --basename --user=user --timeout=900 /usr/lib/apertis-tests/dbus/dos-reply-time/run-test.sh
 
 parse:
   fixupdict:
-- 
GitLab