emacs-diffs
[Top][All Lists]
Advanced

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

master 1d3381a: Fix recently changed wdired test on MS-Windows


From: Stefan Kangas
Subject: master 1d3381a: Fix recently changed wdired test on MS-Windows
Date: Mon, 15 Nov 2021 23:09:01 -0500 (EST)

branch: master
commit 1d3381ae352d97f69d649a5140286cf8f39e0d2b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    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>.
---
 test/lisp/wdired-tests.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/test/lisp/wdired-tests.el b/test/lisp/wdired-tests.el
index 9678fce..47ed26f 100644
--- a/test/lisp/wdired-tests.el
+++ b/test/lisp/wdired-tests.el
@@ -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)



reply via email to

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