diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/net/tramp-tests.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index e35be0e3121..cce4d4e289b 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el | |||
| @@ -2271,10 +2271,13 @@ This checks also `file-name-as-directory', `file-name-directory', | |||
| 2271 | ;; Cleanup. | 2271 | ;; Cleanup. |
| 2272 | (ignore-errors (delete-file tmp-name)))))) | 2272 | (ignore-errors (delete-file tmp-name)))))) |
| 2273 | 2273 | ||
| 2274 | ;; The following test is inspired by Bug#35497. | ||
| 2274 | (ert-deftest tramp-test10-write-region-file-precious-flag () | 2275 | (ert-deftest tramp-test10-write-region-file-precious-flag () |
| 2275 | "Check that `file-precious-flag' is respected with Tramp in use." | 2276 | "Check that `file-precious-flag' is respected with Tramp in use." |
| 2276 | (skip-unless (tramp--test-enabled)) | 2277 | (skip-unless (tramp--test-enabled)) |
| 2277 | (skip-unless (tramp--test-sh-p)) | 2278 | (skip-unless (tramp--test-sh-p)) |
| 2279 | ;; The bug is fixed in Emacs 27.1. | ||
| 2280 | (skip-unless (tramp--test-emacs27-p)) | ||
| 2278 | 2281 | ||
| 2279 | (let* ((tmp-name (tramp--test-make-temp-name)) | 2282 | (let* ((tmp-name (tramp--test-make-temp-name)) |
| 2280 | written-files | 2283 | written-files |