diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-06-13 01:46:33 +0400 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-06-13 01:46:33 +0400 |
| commit | 47abdf6a935012b08975b32f206070d874018da3 (patch) | |
| tree | 05596a062ef379b7faf83509e3da0953e2f007b4 | |
| parent | tests/client-server.scm: Add a new TC (diff) | |
| download | guile-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.scm | 5 |
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 |
