aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-09-21 05:28:40 +0200
committerLars Ingebrigtsen2021-09-21 05:28:45 +0200
commitbbef979ae191b107714fe41258bd6bf0ec956352 (patch)
tree6d0a7a36006bb65ec0e7170dc04ab37ad086f389 /test
parent3dabd272101bc82980a3cfdb748039c3228c762c (diff)
downloademacs-bbef979ae191b107714fe41258bd6bf0ec956352.tar.gz
emacs-bbef979ae191b107714fe41258bd6bf0ec956352.zip
Only search netrc in the netrc tests
* test/lisp/auth-source-tests.el (auth-source-test-netrc-create-secret): Only search netrc.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/auth-source-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/auth-source-tests.el b/test/lisp/auth-source-tests.el
index 226bb69c463..438f6ebbed1 100644
--- a/test/lisp/auth-source-tests.el
+++ b/test/lisp/auth-source-tests.el
@@ -376,7 +376,8 @@
376 (md5 (concat (prin1-to-string process-environment) passwd)) 376 (md5 (concat (prin1-to-string process-environment) passwd))
377 auth-info 377 auth-info
378 (car (auth-source-search 378 (car (auth-source-search
379 :max 1 :host host :require '(:user :secret) :create t)) 379 :max 1 :host host :require '(:user :secret) :create t
380 :type 'netrc))
380 auth-passwd (plist-get auth-info :secret) 381 auth-passwd (plist-get auth-info :secret)
381 auth-passwd (if (functionp auth-passwd) 382 auth-passwd (if (functionp auth-passwd)
382 (funcall auth-passwd) 383 (funcall auth-passwd)