diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-05-14 14:39:23 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-05-26 13:51:44 +0200 |
commit | d0e25ac8be339e4ddcae93978281493d6dee551c (patch) | |
tree | 3cec2f0f69fade775e197752b48070418af2bc2a /libnm-glib | |
parent | f627d6db8ececc70285bf858a6aee031a75a337a (diff) | |
download | NetworkManager-d0e25ac8be339e4ddcae93978281493d6dee551c.tar.gz |
tests: always spawn private d-bus
Parallel test runs would not be possible without this.
Diffstat (limited to 'libnm-glib')
-rwxr-xr-x | libnm-glib/tests/libnm-glib-test-launch.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libnm-glib/tests/libnm-glib-test-launch.sh b/libnm-glib/tests/libnm-glib-test-launch.sh index 42d9fbe26d..980f8345e9 100755 --- a/libnm-glib/tests/libnm-glib-test-launch.sh +++ b/libnm-glib/tests/libnm-glib-test-launch.sh @@ -1,9 +1,7 @@ #!/bin/sh -# Spawn DBus if there's none -if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then - eval `dbus-launch --sh-syntax` - trap "kill $DBUS_SESSION_BUS_PID" EXIT -fi +# Spawn DBus +eval `dbus-launch --sh-syntax` +trap "kill $DBUS_SESSION_BUS_PID" EXIT "$@" |