]> git.eshelyaron.com Git - emacs.git/commitdiff
Set `default-directory' for watchdog in tramp-test.el
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Aug 2017 09:35:41 +0000 (11:35 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Aug 2017 09:35:41 +0000 (11:35 +0200)
* test/lisp/net/tramp-tests.el (tramp-test36-asynchronous-requests):
Set `default-directory' for watchdog.

test/lisp/net/tramp-tests.el

index 45cf95fcfe0ef8ef003f093fcd8796cddbca5ce5..9d2598ac03e410319a9a8a90d9a7b2169aac82ae 100644 (file)
@@ -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))))