mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Only search netrc in the netrc tests
* test/lisp/auth-source-tests.el (auth-source-test-netrc-create-secret): Only search netrc.
This commit is contained in:
parent
3dabd27210
commit
bbef979ae1
1 changed files with 2 additions and 1 deletions
|
|
@ -376,7 +376,8 @@
|
|||
(md5 (concat (prin1-to-string process-environment) passwd))
|
||||
auth-info
|
||||
(car (auth-source-search
|
||||
:max 1 :host host :require '(:user :secret) :create t))
|
||||
:max 1 :host host :require '(:user :secret) :create t
|
||||
:type 'netrc))
|
||||
auth-passwd (plist-get auth-info :secret)
|
||||
auth-passwd (if (functionp auth-passwd)
|
||||
(funcall auth-passwd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue