]> git.eshelyaron.com Git - emacs.git/commitdiff
Stop wdired tests leaving behind symlink /tmp/emacs1000
authorGlenn Morris <rgm@gnu.org>
Sun, 14 Jul 2019 22:18:22 +0000 (15:18 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 14 Jul 2019 22:18:22 +0000 (15:18 -0700)
* test/lisp/wdired-tests.el (server-socket-dir): Make effective.

test/lisp/wdired-tests.el

index 6db2e03e752d37f60759a61912f93b0a5b2441fb..183e18774fb30038142cdebce42e31a741b364d8 100644 (file)
@@ -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)