Commit 10af8c58 authored by Michael Albinus's avatar Michael Albinus
Browse files

Release Tramp 2.4.2

* lisp/net/tramp.el: Bump version.

* test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
Add `add-name-to-file' error message.
(tramp--test-ignore-add-name-to-file-error): Make error handler
more explicit about the error.
parent efeaf19e
......@@ -7,7 +7,7 @@
;; Maintainer: Michael Albinus <>
;; Keywords: comm, processes
;; Package: tramp
;; Version: 2.4.2-pre
;; Version: 2.4.2
;; Package-Requires: ((emacs "24.4"))
;; URL:
......@@ -168,7 +168,10 @@ properly. BODY shall not contain a timeout."
`(let ((tramp-verbose (max (or ,verbose 0) (or tramp-verbose 0)))
(tramp-message-show-message t)
(cons "^make-symbolic-link not supported$" debug-ignored-errors))
'("^make-symbolic-link not supported$"
"^error with add-name-to-file")
(let ((tramp--test-instrument-test-case-p t)) ,@body)
......@@ -3162,10 +3165,9 @@ This tests also `file-executable-p', `file-writable-p' and `set-file-modes'."
(declare (indent defun) (debug (body)))
`(condition-case err
(progn ,@body)
((error quit debug)
(unless (and (eq (car err) 'file-error)
(string-match "^error with add-name-to-file"
(error-message-string err)))
(unless (string-match "^error with add-name-to-file"
(error-message-string err))
(signal (car err) (cdr err))))))
(ert-deftest tramp-test21-file-links ()
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