From: Eli Zaretskii Date: Mon, 21 Sep 2015 13:29:43 +0000 (+0300) Subject: Another fix of file-notify-tests for w32notify X-Git-Tag: emacs-25.0.90~1224^2~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d443345b13ccb761257878217d10d6881eabaac6;p=emacs.git Another fix of file-notify-tests for w32notify * test/automated/file-notify-tests.el (file-notify-test02-events): Further adaptation for w32notify: reduce the number of expected 'changed' events. (Bug#21435) --- diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index 75e0c24a7e9..569f94643c2 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el @@ -285,7 +285,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." ;; w32notify does not distinguish between `changed' and ;; `attribute-changed'. (if (eq file-notify--library 'w32notify) - '(created changed changed changed deleted) + '(created changed changed deleted) '(created changed deleted)) (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) @@ -327,7 +327,7 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (should (equal (mapcar #'cadr file-notify--test-events) (if (eq file-notify--library 'w32notify) '(created changed deleted - created changed changed changed deleted + created changed changed deleted created changed renamed) '(created changed deleted created changed deleted