diff options
| author | Eli Zaretskii | 2016-02-05 23:56:14 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-02-05 23:56:14 +0200 |
| commit | 1fbcc8ad08cf94653f0e28b1e83c45f21c0f3ece (patch) | |
| tree | c603b0b211eeeb531600a74239a180636827a969 /test | |
| parent | c1d32a65372c72d7de4808d620eefd3214a8e92a (diff) | |
| parent | 1eaf68f3689c49ee1d191ad3154563a365f7cf05 (diff) | |
| download | emacs-1fbcc8ad08cf94653f0e28b1e83c45f21c0f3ece.tar.gz emacs-1fbcc8ad08cf94653f0e28b1e83c45f21c0f3ece.zip | |
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Diffstat (limited to 'test')
| -rw-r--r-- | test/automated/file-notify-tests.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index de64f5086d2..629d85be1ef 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el | |||
| @@ -596,7 +596,7 @@ longer than timeout seconds for the events to be delivered." | |||
| 596 | (should (string-match "another text" (buffer-string))) | 596 | (should (string-match "another text" (buffer-string))) |
| 597 | 597 | ||
| 598 | ;; Stop file notification. Autorevert shall still work via polling. | 598 | ;; Stop file notification. Autorevert shall still work via polling. |
| 599 | ;; It doesn't work for `w32notify'. | 599 | ;; It doesn't work for w32notify. |
| 600 | (unless (string-equal (file-notify--test-library) "w32notify") | 600 | (unless (string-equal (file-notify--test-library) "w32notify") |
| 601 | (file-notify-rm-watch auto-revert-notify-watch-descriptor) | 601 | (file-notify-rm-watch auto-revert-notify-watch-descriptor) |
| 602 | (file-notify--wait-for-events | 602 | (file-notify--wait-for-events |
| @@ -797,7 +797,10 @@ longer than timeout seconds for the events to be delivered." | |||
| 797 | file-notify--test-tmpfile | 797 | file-notify--test-tmpfile |
| 798 | '(change) 'file-notify--test-event-handler))) | 798 | '(change) 'file-notify--test-event-handler))) |
| 799 | (unwind-protect | 799 | (unwind-protect |
| 800 | (let ((n 1000) | 800 | ;; In case of w32notify, the upper limit of events to handle |
| 801 | ;; seems to be 260. Reason unknown. | ||
| 802 | (let ((n (if (string-equal (file-notify--test-library) "w32notify") | ||
| 803 | 250 1000)) | ||
| 801 | source-file-list target-file-list | 804 | source-file-list target-file-list |
| 802 | (default-directory file-notify--test-tmpfile)) | 805 | (default-directory file-notify--test-tmpfile)) |
| 803 | (dotimes (i n) | 806 | (dotimes (i n) |