]> git.eshelyaron.com Git - emacs.git/commitdiff
; Skip autorevert test when notify support is missing
authorUlrich Müller <ulm@gentoo.org>
Fri, 21 Feb 2025 08:15:50 +0000 (09:15 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Feb 2025 08:07:18 +0000 (09:07 +0100)
* test/lisp/autorevert-tests.el
(auto-revert-test07-auto-revert-several-buffers): Skip if file
notification support is not available.  (Bug#76459)

(cherry picked from commit f8ff9592be9181465740ee98b71513cdbcafc35f)

test/lisp/autorevert-tests.el

index 319f3285d2d6c19165429c2f2fad3b17a566f3c2..d8115b444de98c65f1630436a2e31e6d2d0d42fd 100644 (file)
@@ -581,6 +581,8 @@ This expects `auto-revert--messages' to be bound by
 ;; This is inspired by Bug#44638, Bug#71424.
 (ert-deftest auto-revert-test07-auto-revert-several-buffers ()
   "Check autorevert for several buffers visiting the same file."
+  (skip-unless (or file-notify--library
+                   (file-remote-p temporary-file-directory)))
   ;; (with-auto-revert-test
   (ert-with-temp-file tmpfile
     (let ((auto-revert-use-notify t)