]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip ffap test on some systems
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jan 2022 11:10:46 +0000 (12:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 14 Jan 2022 11:10:46 +0000 (12:10 +0100)
test/lisp/ffap-tests.el

index c5032a60a1a4dfa52753964c93d80f72f89e5b4a..0fdc31e8b6147306967888d58f9bb5eb1179c859 100644 (file)
@@ -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))