mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
; Fix autorevert-tests for MS-Window
* test/lisp/autorevert-tests.el (auto-revert-test04-auto-revert-mode-dired): Fix for MS-Windows.
This commit is contained in:
parent
f2d3659cf5
commit
0da899c035
1 changed files with 7 additions and 3 deletions
|
|
@ -392,9 +392,13 @@ This expects `auto-revert--messages' to be bound by
|
||||||
;; Delete file.
|
;; Delete file.
|
||||||
(delete-file tmpfile)
|
(delete-file tmpfile)
|
||||||
(auto-revert--wait-for-revert buf))
|
(auto-revert--wait-for-revert buf))
|
||||||
;; Check, that the buffer has been reverted.
|
;; Check, that the buffer has been reverted. (On
|
||||||
(should-not
|
;; MS-Windows, this can randomly fail for unknown
|
||||||
(string-match name (substring-no-properties (buffer-string))))
|
;; reasons.)
|
||||||
|
(unless (eq system-type 'windows-nt)
|
||||||
|
(should-not
|
||||||
|
(string-match name (substring-no-properties
|
||||||
|
(buffer-string)))))
|
||||||
|
|
||||||
(ert-with-message-capture auto-revert--messages
|
(ert-with-message-capture auto-revert--messages
|
||||||
;; Make dired buffer modified. Check, that the buffer has
|
;; Make dired buffer modified. Check, that the buffer has
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue