summaryrefslogtreecommitdiff
path: root/test/lisp/filenotify-tests.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2019-08-20 21:32:34 +0200
committerMichael Albinus <michael.albinus@gmx.de>2019-08-20 21:32:34 +0200
commitfde614f4cc531f778ba082b0f29a7422be8ea433 (patch)
tree57bf6ef3892212e06f0f6a4d40d6a989d240ffb9 /test/lisp/filenotify-tests.el
parent68f086e66906a5aa9bb447cdebac71ced98a0663 (diff)
downloademacs-fde614f4cc531f778ba082b0f29a7422be8ea433.tar.gz
Another attempt to fix bug#32645
* test/lisp/autorevert-tests.el () (auto-revert-test02-auto-revert-deleted-file): * test/lisp/filenotify-tests.el (file-notify-test04-autorevert): Check `file-notify-valid-p', not that the descriptor is nil.
Diffstat (limited to 'test/lisp/filenotify-tests.el')
-rw-r--r--test/lisp/filenotify-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 2027299197b..0b6e66e73a6 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -946,7 +946,8 @@ delivered."
(file-notify--test-wait-for-events
timeout (null auto-revert-notify-watch-descriptor))
(should auto-revert-use-notify)
- (should-not auto-revert-notify-watch-descriptor)
+ (should-not
+ (file-notify-valid-p auto-revert-notify-watch-descriptor))
;; Modify file. We wait for two seconds, in order to
;; have another timestamp. One second seems to be too