From: Michael Albinus Date: Sat, 25 Sep 2021 10:20:46 +0000 (+0200) Subject: ; More instrumentation in autorevert-tests.el X-Git-Tag: emacs-28.0.90~649 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea3656191d8dbc009744ee5d2c79c738ba90c9b9;p=emacs.git ; More instrumentation in autorevert-tests.el --- diff --git a/test/lisp/autorevert-tests.el b/test/lisp/autorevert-tests.el index 4a67dae10e6..284b352cd74 100644 --- a/test/lisp/autorevert-tests.el +++ b/test/lisp/autorevert-tests.el @@ -528,10 +528,10 @@ This expects `auto-revert--messages' to be bound by (auto-revert-test--wait-for-buffer-text buf-1 "1-b" (auto-revert--timeout)) ;; On emba, `buf-1' is a killed buffer. - (message "Hallo1") - (when (buffer-name buf-1) - (should (buffer-local-value - 'auto-revert-notify-watch-descriptor buf-1))) + (message "Hallo1 %s %s %s" file-1 buf-1 (get-file-buffer file-1)) + (should + (buffer-local-value + 'auto-revert-notify-watch-descriptor (get-file-buffer file-1))) ;; Write a buffer to a new file, then modify the new file on disk. (with-current-buffer buf-2