diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/dbus-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/net/dbus-tests.el b/test/lisp/net/dbus-tests.el index 624d15ef5f1..1ada2552b85 100644 --- a/test/lisp/net/dbus-tests.el +++ b/test/lisp/net/dbus-tests.el | |||
| @@ -133,7 +133,7 @@ This includes initialization and closing the bus." | |||
| 133 | ;; Start bus. | 133 | ;; Start bus. |
| 134 | (let ((output | 134 | (let ((output |
| 135 | (ignore-errors | 135 | (ignore-errors |
| 136 | (shell-command-to-string "dbus-launch --sh-syntax"))) | 136 | (shell-command-to-string "env DISPLAY= dbus-launch --sh-syntax"))) |
| 137 | bus pid) | 137 | bus pid) |
| 138 | (skip-unless (stringp output)) | 138 | (skip-unless (stringp output)) |
| 139 | (when (string-match "DBUS_SESSION_BUS_ADDRESS='\\(.+\\)';" output) | 139 | (when (string-match "DBUS_SESSION_BUS_ADDRESS='\\(.+\\)';" output) |