mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 07:10:33 +01:00
tests: use dbus-run-session instead of dbus-launch
The dbus-run-session utility was designed to run a process within a D-Bus session, specifically for running regressions tests and is much better suited then dbus-launch. As an additional benefit, this avoids any X dependencies. https://mail.gnome.org/archives/networkmanager-list/2016-January/msg00023.html
This commit is contained in:
parent
08bc51095c
commit
a9bd5dce1c
2 changed files with 2 additions and 10 deletions
|
|
@ -1,7 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Spawn DBus
|
||||
eval `dbus-launch --sh-syntax`
|
||||
trap "kill $DBUS_SESSION_BUS_PID" EXIT
|
||||
|
||||
"$@"
|
||||
dbus-run-session -- "$@"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Spawn DBus
|
||||
eval `dbus-launch --sh-syntax`
|
||||
trap "kill $DBUS_SESSION_BUS_PID" EXIT
|
||||
|
||||
"$@"
|
||||
dbus-run-session -- "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue