Skip to content

Commit 5eeac73

Browse files
tests/client-server: Bugfix
* tests/client-server.scm ("userauth-public-key!, success (RSA)"): Skip when libssh 0.11 is used.
1 parent 28a11d3 commit 5eeac73

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/client-server.scm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,12 @@
428428
(let ((prvkey (private-key-from-file %ecdsakey)))
429429
(userauth-public-key! session prvkey)))))))
430430

431+
(let* ((version (get-libssh-version))
432+
(version (map string->number (string-split version #\.))))
433+
(when (and (zero? (car version))
434+
(>= (cadr version) 11))
435+
(test-skip "userauth-public-key!, success (RSA)")))
436+
431437
(test-equal-with-log "userauth-public-key!, success (RSA)"
432438
'success
433439
(run-client-test

0 commit comments

Comments
 (0)