mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Adapt `tramp-test49-external-backend-function'
* test/lisp/net/tramp-tests.el (tramp-test49-external-backend-function): Extend test.
This commit is contained in:
parent
f0f6fa3b68
commit
8c7b4391a5
1 changed files with 16 additions and 4 deletions
|
|
@ -8670,11 +8670,17 @@ process sentinels. They shall not disturb each other."
|
|||
(let ((default-directory ert-remote-temporary-file-directory))
|
||||
(should
|
||||
(string-equal (tramp--test-operation)
|
||||
(tramp--handler-for-test-operation))))
|
||||
(tramp--handler-for-test-operation)))
|
||||
(should
|
||||
(string-equal (tramp--test-operation "foo")
|
||||
(tramp--handler-for-test-operation "foo"))))
|
||||
(let ((default-directory temporary-file-directory))
|
||||
(should-not
|
||||
(string-equal (tramp--test-operation)
|
||||
(tramp--handler-for-test-operation))))
|
||||
(tramp--handler-for-test-operation)))
|
||||
(should-not
|
||||
(string-equal (tramp--test-operation "foo")
|
||||
(tramp--handler-for-test-operation "foo"))))
|
||||
|
||||
(tramp-remove-external-operation
|
||||
#'tramp--test-operation backend)
|
||||
|
|
@ -8690,11 +8696,17 @@ process sentinels. They shall not disturb each other."
|
|||
(let ((default-directory ert-remote-temporary-file-directory))
|
||||
(should-not
|
||||
(string-equal (tramp--test-operation)
|
||||
(tramp--handler-for-test-operation))))
|
||||
(tramp--handler-for-test-operation)))
|
||||
(should-not
|
||||
(string-equal (tramp--test-operation "foo")
|
||||
(tramp--handler-for-test-operation "foo"))))
|
||||
(let ((default-directory temporary-file-directory))
|
||||
(should-not
|
||||
(string-equal (tramp--test-operation)
|
||||
(tramp--handler-for-test-operation))))))
|
||||
(tramp--handler-for-test-operation)))
|
||||
(should-not
|
||||
(string-equal (tramp--test-operation "foo")
|
||||
(tramp--handler-for-test-operation "foo"))))))
|
||||
|
||||
;; This test is inspired by Bug#29163.
|
||||
(ert-deftest tramp-test50-auto-load ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue