Skip to content

Commit

Permalink
tests/client-server: Bugfix
Browse files Browse the repository at this point in the history
* tests/client-server.scm ("userauth-public-key!, success (RSA)"): Skip when
libssh 0.11 is used.
  • Loading branch information
artyom-poptsov committed Nov 10, 2024
1 parent 28a11d3 commit 5eeac73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/client-server.scm
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,12 @@
(let ((prvkey (private-key-from-file %ecdsakey)))
(userauth-public-key! session prvkey)))))))

(let* ((version (get-libssh-version))
(version (map string->number (string-split version #\.))))
(when (and (zero? (car version))
(>= (cadr version) 11))
(test-skip "userauth-public-key!, success (RSA)")))

(test-equal-with-log "userauth-public-key!, success (RSA)"
'success
(run-client-test
Expand Down

0 comments on commit 5eeac73

Please sign in to comment.