aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2019-05-08 09:44:22 +0200
committerMichael Albinus2019-05-08 09:44:22 +0200
commit173fd94c11655bde2edf4cd1ee983e025aa06a79 (patch)
tree4244846210fee46a5de71755c9717dc63d721cc2 /test
parent21888a94648df813cef354a22b92be9b23673358 (diff)
downloademacs-173fd94c11655bde2edf4cd1ee983e025aa06a79.tar.gz
emacs-173fd94c11655bde2edf4cd1ee983e025aa06a79.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/net/tramp-tests.el3
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