From: Lars Ingebrigtsen Date: Fri, 14 Jan 2022 11:10:46 +0000 (+0100) Subject: Skip ffap test on some systems X-Git-Tag: emacs-29.0.90~3054 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=edcb1f3a3b3580078bdf0e314208bb485355a413;p=emacs.git Skip ffap test on some systems --- diff --git a/test/lisp/ffap-tests.el b/test/lisp/ffap-tests.el index c5032a60a1a..0fdc31e8b61 100644 --- a/test/lisp/ffap-tests.el +++ b/test/lisp/ffap-tests.el @@ -142,6 +142,8 @@ left alone when opening a URL in an external browser." (kill-buffer (call-interactively #'find-file-at-point))))))) (ert-deftest ffap-test-path () + (skip-unless (file-exists-p "/bin")) + (skip-unless (file-exists-p "/usr/bin")) (with-temp-buffer (insert "/usr/bin:/bin") (goto-char (point-min))