emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ddda5ae: Set `default-directory' for watchdog in tr


From: Michael Albinus
Subject: [Emacs-diffs] master ddda5ae: Set `default-directory' for watchdog in tramp-test.el
Date: Thu, 17 Aug 2017 05:35:48 -0400 (EDT)

branch: master
commit ddda5ae547d4c814482984cad3d350f65db082e3
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Set `default-directory' for watchdog in tramp-test.el
    
    * test/lisp/net/tramp-tests.el (tramp-test36-asynchronous-requests):
    Set `default-directory' for watchdog.
---
 test/lisp/net/tramp-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 45cf95f..9d2598a 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -3821,7 +3821,9 @@ process sentinels.  They shall not disturb each other."
   (with-timeout (300 (tramp--test-timeout-handler))
     (define-key special-event-map [sigusr1] 'tramp--test-timeout-handler)
     (tramp--test-instrument-test-case (if (getenv "EMACS_HYDRA_CI") 10 0)
-    (let* ((watchdog
+    (let* (;; For the watchdog.
+          (default-directory (expand-file-name temporary-file-directory))
+          (watchdog
             (start-process
              "*watchdog*" nil shell-file-name shell-command-switch
              (format "sleep 300; kill -USR1 %d" (emacs-pid))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]