diff options
| author | Michael Albinus | 2026-01-27 18:49:37 +0100 |
|---|---|---|
| committer | Michael Albinus | 2026-01-27 18:49:37 +0100 |
| commit | d09cedc9bf2addd4ca0be7d63af8434067ab71bf (patch) | |
| tree | f043c6c0aeac7f5797e2b98757e8385dcd0c3a9d | |
| parent | 50bb4ae1eb8a4a2395e4bfd02130021e90d842ab (diff) | |
| download | emacs-d09cedc9bf2addd4ca0be7d63af8434067ab71bf.tar.gz emacs-d09cedc9bf2addd4ca0be7d63af8434067ab71bf.zip | |
; Instrument filenotify test
* test/lisp/filenotify-tests.el (file-notify-test08-backup):
Instrument test.
| -rw-r--r-- | test/lisp/filenotify-tests.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 7a68e637653..fc826aba8d4 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el | |||
| @@ -1256,6 +1256,10 @@ delivered." | |||
| 1256 | :tags '(:expensive-test) | 1256 | :tags '(:expensive-test) |
| 1257 | (skip-unless (file-notify--test-local-enabled)) | 1257 | (skip-unless (file-notify--test-local-enabled)) |
| 1258 | 1258 | ||
| 1259 | (let ((file-notify-debug ;; Temporarily. | ||
| 1260 | (or file-notify-debug | ||
| 1261 | (getenv "EMACS_EMBA_CI")))) | ||
| 1262 | |||
| 1259 | (with-file-notify-test | 1263 | (with-file-notify-test |
| 1260 | (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) | 1264 | (write-region "any text" nil file-notify--test-tmpfile nil 'no-message) |
| 1261 | (should | 1265 | (should |
| @@ -1334,7 +1338,7 @@ delivered." | |||
| 1334 | (file-notify--rm-descriptor file-notify--test-desc) | 1338 | (file-notify--rm-descriptor file-notify--test-desc) |
| 1335 | 1339 | ||
| 1336 | ;; The environment shall be cleaned up. | 1340 | ;; The environment shall be cleaned up. |
| 1337 | (file-notify--test-cleanup-p)))) | 1341 | (file-notify--test-cleanup-p))))) |
| 1338 | 1342 | ||
| 1339 | (file-notify--deftest-remote file-notify-test08-backup | 1343 | (file-notify--deftest-remote file-notify-test08-backup |
| 1340 | "Check that backup keeps file notification for remote files.") | 1344 | "Check that backup keeps file notification for remote files.") |