Skip to content

Commit 173fd94

Browse files
committed
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.
1 parent 21888a9 commit 173fd94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/lisp/net/tramp-tests.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,10 +2271,13 @@ This checks also `file-name-as-directory', `file-name-directory',
22712271
;; Cleanup.
22722272
(ignore-errors (delete-file tmp-name))))))
22732273

2274+
;; The following test is inspired by Bug#35497.
22742275
(ert-deftest tramp-test10-write-region-file-precious-flag ()
22752276
"Check that `file-precious-flag' is respected with Tramp in use."
22762277
(skip-unless (tramp--test-enabled))
22772278
(skip-unless (tramp--test-sh-p))
2279+
;; The bug is fixed in Emacs 27.1.
2280+
(skip-unless (tramp--test-emacs27-p))
22782281

22792282
(let* ((tmp-name (tramp--test-make-temp-name))
22802283
written-files

0 commit comments

Comments
 (0)