Make tramp-test42-auto-load more robust
* test/lisp/net/tramp-tests.el (tramp-test42-auto-load): Make it more robust. Don't skip.
This commit is contained in:
parent
af0ce33d08
commit
ad99550610
1 changed files with 2 additions and 4 deletions
|
@ -4613,15 +4613,13 @@ process sentinels. They shall not disturb each other."
|
|||
(ignore-errors (cancel-timer timer))
|
||||
(ignore-errors (delete-directory tmp-name 'recursive))))))
|
||||
|
||||
;; This test is inspired by Bug#29163.
|
||||
(ert-deftest tramp-test42-auto-load ()
|
||||
"Check that Tramp autoloads properly."
|
||||
(skip-unless (tramp--test-enabled))
|
||||
(skip-unless (not (tramp--test-mock-p)))
|
||||
|
||||
(let ((default-directory (expand-file-name temporary-file-directory))
|
||||
(code
|
||||
(format
|
||||
"(message \"Tramp loaded: %%s\" (consp (file-attributes %S)))"
|
||||
"(message \"Tramp loaded: %%s\" (and (file-remote-p %S) t))"
|
||||
tramp-test-temporary-file-directory)))
|
||||
(should
|
||||
(string-match
|
||||
|
|
Loading…
Add table
Reference in a new issue