From ea3656191d8dbc009744ee5d2c79c738ba90c9b9 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 25 Sep 2021 12:20:46 +0200 Subject: [PATCH] ; More instrumentation in autorevert-tests.el --- test/lisp/autorevert-tests.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2