summaryrefslogtreecommitdiff
path: root/test/lisp/ffap-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-01-14 12:10:46 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-14 12:10:46 +0100
commitedcb1f3a3b3580078bdf0e314208bb485355a413 (patch)
treedaf94393d7579bb6991c6c6c64c596907218d587 /test/lisp/ffap-tests.el
parentdd3715b0cb73515f516eccaace8eba13f2b328ab (diff)
Skip ffap test on some systems
Diffstat (limited to 'test/lisp/ffap-tests.el')
-rw-r--r--test/lisp/ffap-tests.el2
1 files changed, 2 insertions, 0 deletions
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))