Commit 173fd94c authored by Michael Albinus's avatar Michael Albinus

Skip tramp-test10-write-region-file-precious-flag for Emacs < 27

* test/lisp/net/tramp-tests.el
(tramp-test10-write-region-file-precious-flag): Skip for Emacs < 27.
parent 21888a94
Pipeline #1606 failed with stage
in 52 minutes and 16 seconds
...@@ -2271,10 +2271,13 @@ This checks also `file-name-as-directory', `file-name-directory', ...@@ -2271,10 +2271,13 @@ This checks also `file-name-as-directory', `file-name-directory',
;; Cleanup. ;; Cleanup.
(ignore-errors (delete-file tmp-name)))))) (ignore-errors (delete-file tmp-name))))))
;; The following test is inspired by Bug#35497.
(ert-deftest tramp-test10-write-region-file-precious-flag () (ert-deftest tramp-test10-write-region-file-precious-flag ()
"Check that `file-precious-flag' is respected with Tramp in use." "Check that `file-precious-flag' is respected with Tramp in use."
(skip-unless (tramp--test-enabled)) (skip-unless (tramp--test-enabled))
(skip-unless (tramp--test-sh-p)) (skip-unless (tramp--test-sh-p))
;; The bug is fixed in Emacs 27.1.
(skip-unless (tramp--test-emacs27-p))
(let* ((tmp-name (tramp--test-make-temp-name)) (let* ((tmp-name (tramp--test-make-temp-name))
written-files written-files
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment