diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-06-13 01:50:32 +0400 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-06-13 01:50:32 +0400 |
| commit | 9dc629d1e39be38dc26168ed189bcfcda2e39fe1 (patch) | |
| tree | 5621d16c9ffe85bcf2e979729d65f5332f39c03b | |
| parent | tests/client-server.scm: Add a new TC (diff) | |
| download | guile-ssh-9dc629d1e39be38dc26168ed189bcfcda2e39fe1.tar.gz | |
tests/client-server.scm: Add a new TC
* tests/client-server.scm ("userauth-get-list, wrong parameter"): New test
case.
| -rw-r--r-- | tests/client-server.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/client-server.scm b/tests/client-server.scm index f247ce5..40a426b 100644 --- a/tests/client-server.scm +++ b/tests/client-server.scm @@ -345,6 +345,12 @@ (eq? res 'success))))))) +;; The procedure called with a wrong object as a parameter which leads to an +;; exception. +(test-error-with-log "userauth-get-list, wrong parameter" 'wrong-type-arg + (userauth-get-list "Not a session.")) + + ;; Server replies "default" with the list of allowed authentication ;; methods. Client receives the list. (test-assert-with-log "userauth-get-list" |
