[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 e02d8e2: Fix Bug#32084
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] emacs-26 e02d8e2: Fix Bug#32084 |
Date: |
Sun, 8 Jul 2018 07:02:27 -0400 (EDT) |
branch: emacs-26
commit e02d8e29c6009dbaf04d3e1668f476ba000c7f02
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Fix Bug#32084
* test/lisp/net/dbus-tests.el (dbus-test02-register-service-own-bus):
Unset $DISPLAY when calling dbus-launch, in order to avoid
possible X11 authentication errors. (Bug#32084)
---
test/lisp/net/dbus-tests.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/lisp/net/dbus-tests.el b/test/lisp/net/dbus-tests.el
index 624d15e..8fcb8a5 100644
--- a/test/lisp/net/dbus-tests.el
+++ b/test/lisp/net/dbus-tests.el
@@ -133,7 +133,8 @@ This includes initialization and closing the bus."
;; Start bus.
(let ((output
(ignore-errors
- (shell-command-to-string "dbus-launch --sh-syntax")))
+ (shell-command-to-string
+ "env DISPLAY= dbus-launch --sh-syntax --close-stderr")))
bus pid)
(skip-unless (stringp output))
(when (string-match "DBUS_SESSION_BUS_ADDRESS='\\(.+\\)';" output)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 e02d8e2: Fix Bug#32084,
Michael Albinus <=