From f1e11deca641c3fd6d571afb6b8618143a16d226 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 27 Apr 2022 07:07:21 +0200 Subject: [PATCH] ; Instrument tramp-test46-read-password --- test/lisp/net/tramp-tests.el | 5 +++-- 1 file 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 () -- 2.39.2