Reenable lost Tramp test case

* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
Reenable lost test case.
This commit is contained in:
Michael Albinus 2017-03-14 15:52:16 +01:00
parent 19a04b4c32
commit a568d0a7d4

View file

@ -1529,7 +1529,14 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
(member
(format "%s:" method)
(file-name-all-completions (substring method 0 1) "/"))))
(unless (or (zerop (length method)) (zerop (length host)))
(unless (zerop (length host))
(let ((tramp-default-method (or method tramp-default-method)))
(should
(member
(format "-:%s:" host)
(file-name-all-completions
(format "-:%s" (substring host 0 1)) "/")))))
(unless (or (zerop (length method)) (zerop (length host)))
(should
(member
(format "%s:%s:" method host)