Skip to content

Commit

Permalink
tests/client-server: Bugfix
Browse files Browse the repository at this point in the history
* tests/client-server.scm ("data transferring, remote side abruptly closed"):
Bugfix: Don't log errors into stderr, use libssh log instead.  Remove "error"
word from the log string as surprisingly it tricks the test framework to think
that some test error has happened.
  • Loading branch information
artyom-poptsov committed Nov 10, 2024
1 parent c3d880e commit d7da2c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/client-server.scm
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,9 @@
(loop (cons result data)
(get-bytevector-n channel (/ vect-size 2))))
(lambda err
(format (current-error-port)
" unexpected error: ~a~%"
err)
(format-log/scm 'nolog
"data transferring, remote side abruptly closed"
"err: ~a" err)
#f))))))))))


Expand Down

0 comments on commit d7da2c0

Please sign in to comment.