summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-06-13 01:46:33 +0400
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2016-06-13 01:46:33 +0400
commit47abdf6a935012b08975b32f206070d874018da3 (patch)
tree05596a062ef379b7faf83509e3da0953e2f007b4
parenttests/client-server.scm: Add a new TC (diff)
downloadguile-ssh-47abdf6a935012b08975b32f206070d874018da3.tar.gz
tests/client-server.scm: Add a new TC
* tests/client-server.scm ("userauth-none!, wrong parameter"): New test case.
-rw-r--r--tests/client-server.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/client-server.scm b/tests/client-server.scm
index ce8203b..f247ce5 100644
--- a/tests/client-server.scm
+++ b/tests/client-server.scm
@@ -163,6 +163,11 @@
;;; Authentication
+;; The procedure called with a wrong object as a parameter which leads to an
+;; exception.
+(test-error-with-log "userauth-none!, wrong parameter" 'wrong-type-arg
+ (userauth-none! "Not a session."))
+
;; Client tries to authenticate using a non-connected session which leads to
;; an exception.
(test-error-with-log "userauth-none!, not connected" 'wrong-type-arg