From edcb1f3a3b3580078bdf0e314208bb485355a413 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 14 Jan 2022 12:10:46 +0100 Subject: [PATCH] Skip ffap test on some systems --- test/lisp/ffap-tests.el | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.39.2