diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2022-04-27 07:07:21 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2022-04-27 07:07:21 +0200 |
commit | f1e11deca641c3fd6d571afb6b8618143a16d226 (patch) | |
tree | bffdd3a9cab186119574e5a015bed1f18da61ba5 /test | |
parent | 8c2ea3a7086353ab2e62e70f8fc7567d8cd75f7a (diff) | |
download | emacs-f1e11deca641c3fd6d571afb6b8618143a16d226.tar.gz |
; Instrument tramp-test46-read-password
Diffstat (limited to 'test')
-rw-r--r-- | test/lisp/net/tramp-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index a5058f92ef0..b27b735eb57 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -7308,7 +7308,8 @@ process sentinels. They shall not disturb each other." (skip-unless (tramp--test-enabled)) (skip-unless (tramp--test-mock-p)) - (let ((pass "aaaa") + (tramp--test-instrument-test-case 10 + (let ((pass "secret") (mock-entry (copy-sequence (assoc "mock" tramp-methods))) mocked-input tramp-methods) ;; We must mock `read-string', in order to avoid interactive @@ -7354,7 +7355,7 @@ process sentinels. They shall not disturb each other." "machine %s port mock password %s" (file-remote-p tramp-test-temporary-file-directory 'host) pass) (let ((auth-sources `(,netrc-file))) - (should (file-exists-p tramp-test-temporary-file-directory))))))))) + (should (file-exists-p tramp-test-temporary-file-directory)))))))))) ;; This test is inspired by Bug#29163. (ert-deftest tramp-test47-auto-load () |