1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Fix recently changed wdired test on MS-Windows

* test/lisp/wdired-tests.el (wdired-test-bug34915): Don't try to
create a local socket on MS-Windows, as it is not supported on that
platform.  Problem reported by Robert Pluim <rpluim@gmail.com>.
This commit is contained in:
Stefan Kangas 2021-11-16 05:06:48 +01:00
parent 7cfc3f34bb
commit 1d3381ae35

View File

@ -146,11 +146,12 @@ wdired-get-filename before and after editing."
(make-symbolic-link "foo" "bar")
(make-directory "foodir")
(dired-smart-shell-command "mkfifo foopipe")
(setq proc (make-network-process
:name "foo"
:family 'local
:server t
:service (expand-file-name "foosocket" test-dir)))
(when (featurep 'make-network-process '(:family local))
(setq proc (make-network-process
:name "foo"
:family 'local
:server t
:service (expand-file-name "foosocket" test-dir))))
(kill-buffer buf))
(dired test-dir)
(dired-toggle-read-only)