From ec1fffdeca9c87a92b8c35545121b4ee3eec3ece Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 22 Jun 2022 17:47:39 +0200 Subject: [PATCH] Fix dnd-tests-open-remote-url on EMBA * test/lisp/dnd-tests.el (dnd-tests-open-remote-url): Check for ftp client. --- test/lisp/dnd-tests.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lisp/dnd-tests.el b/test/lisp/dnd-tests.el index 3ee92286f96..aae9c80273f 100644 --- a/test/lisp/dnd-tests.el +++ b/test/lisp/dnd-tests.el @@ -375,6 +375,8 @@ This function only tries to handle strings." ;; Expensive test to make sure opening an FTP URL during ;; drag-and-drop works. :tags '(:expensive-test) + ;; Don't run if there is no ftp client. + (skip-unless (executable-find "ftp")) ;; Don't run this test if the FTP server isn't reachable. (skip-unless (and (fboundp 'network-lookup-address-info) (network-lookup-address-info "ftp.gnu.org"))) -- 2.39.2