From c3da6fd70734577b5e63a2c56084bbea000c7bce Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 14 Jul 2019 15:18:22 -0700 Subject: [PATCH] Stop wdired tests leaving behind symlink /tmp/emacs1000 * test/lisp/wdired-tests.el (server-socket-dir): Make effective. --- test/lisp/wdired-tests.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/lisp/wdired-tests.el b/test/lisp/wdired-tests.el index 6db2e03e752..183e18774fb 100644 --- a/test/lisp/wdired-tests.el +++ b/test/lisp/wdired-tests.el @@ -128,6 +128,8 @@ wdired-mode." (kill-buffer buf))) (delete-directory test-dir t))))) +(defvar server-socket-dir) + (ert-deftest wdired-test-bug34915 () "Test editing when dired-listing-switches includes -F. Appended file indicators should not count as part of the file @@ -150,6 +152,7 @@ wdired-get-filename before and after editing." (require 'dired-x) (dired-smart-shell-command "mkfifo foopipe") (server-force-delete) + ;; FIXME? This seems a heavy-handed way of making a socket. (server-start) ; Add a socket file. (kill-buffer buf)) (dired test-dir) -- 2.39.2