]> git.eshelyaron.com Git - emacs.git/commitdiff
; More instrumentation in autorevert-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 25 Sep 2021 10:20:46 +0000 (12:20 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 25 Sep 2021 10:20:46 +0000 (12:20 +0200)
test/lisp/autorevert-tests.el

index 4a67dae10e6c5239d7be7b9378fb2cd5e8a38bae..284b352cd74a5de3c4e591a15dbc78f5cbc2522e 100644 (file)
@@ -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