diff options
| author | Michael Albinus | 2015-10-27 16:06:33 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-10-27 16:06:33 +0100 |
| commit | f72ac3591b10cea65ea0969396995b97a887e571 (patch) | |
| tree | 091567f8851b31f0c3621eda4fb1ca873ff2af9b | |
| parent | 838023d469054cc19d0a2b7cf48e39082d8220f0 (diff) | |
| download | emacs-f72ac3591b10cea65ea0969396995b97a887e571.tar.gz emacs-f72ac3591b10cea65ea0969396995b97a887e571.zip | |
; Fix comments in file-notify-tests.el
| -rw-r--r-- | test/automated/file-notify-tests.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index f411c6b76b0..222bdc52928 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el | |||
| @@ -459,8 +459,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." | |||
| 459 | (should auto-revert-use-notify) | 459 | (should auto-revert-use-notify) |
| 460 | (should auto-revert-notify-watch-descriptor) | 460 | (should auto-revert-notify-watch-descriptor) |
| 461 | 461 | ||
| 462 | ;; Modify file. We wait for a second, in order to | 462 | ;; Modify file. We wait for a second, in order to have |
| 463 | ;; have another timestamp. | 463 | ;; another timestamp. |
| 464 | (with-current-buffer (get-buffer-create "*Messages*") | 464 | (with-current-buffer (get-buffer-create "*Messages*") |
| 465 | (narrow-to-region (point-max) (point-max))) | 465 | (narrow-to-region (point-max) (point-max))) |
| 466 | (sleep-for 1) | 466 | (sleep-for 1) |
| @@ -483,8 +483,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." | |||
| 483 | (should-not auto-revert-use-notify) | 483 | (should-not auto-revert-use-notify) |
| 484 | (should-not auto-revert-notify-watch-descriptor) | 484 | (should-not auto-revert-notify-watch-descriptor) |
| 485 | 485 | ||
| 486 | ;; Modify file. We wait for a second, in order to | 486 | ;; Modify file. We wait for two seconds, in order to have |
| 487 | ;; have another timestamp. | 487 | ;; another timestamp. One second seems to be too short. |
| 488 | (with-current-buffer (get-buffer-create "*Messages*") | 488 | (with-current-buffer (get-buffer-create "*Messages*") |
| 489 | (narrow-to-region (point-max) (point-max))) | 489 | (narrow-to-region (point-max) (point-max))) |
| 490 | (sleep-for 2) | 490 | (sleep-for 2) |