| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
* tests/key.scm ("string->public-key, RSA, gc test"): New TC.
* tests/session.scm ("%make-session, gc test"): New TC.
|
| |
|
|
|
|
|
| |
* tests/common.scm (test-begin-with-log): New procedure.
* tests/client-server.scm, tests/common.scm, tests/dist.scm,
tests/key.scm, tests/popen.scm, tests/server-client.scm,
tests/server.scm, tests/session.scm, tests/tunnel.scm: Use it.
|
| |
|
|
|
| |
* tests/session.scm ("blocking-flush!"): Use 'test-equal-with-log', simplify a
bit.
|
| |
|
|
|
|
|
|
|
|
|
| |
* modules/ssh/session.scm (make-session): Accept 'config' option.
(session-parse-config!): New procedure.
* libguile-ssh/session-func.c (gssh_session_parse_config): New procedure.
* tests/common.scm (%config): Export the new global symbol.
* doc/api-sessions.texi: Update.
* tests/config: Add to the repository.
* tests/session.scm ("session-parse-config!"): New test case.
* NEWS: Update.
|
| |
|
|
|
|
|
| |
* libguile-ssh/session-func.c (set_callbacks): Ensure that callbacks are
procedures.
(scm_is_procedure, validate_callback): New procedures.
* tests/session.scm ("session-set!, invalid values"): Update.
|
| |
|
|
|
|
| |
* tests/session.scm ("session-set!, valid values"): Due to erroneous
quasiquote usage the test would always fail to set callbacks for a session.
The patch fixes that.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libguile-ssh/session-func.c: Add basic support of session callbacks.
(libssh_global_request_callback, set_callbacks): New static procedure.
(set_option): Change paramegers. All callers updated.
(guile_ssh_session_set): Update.
* libguile-ssh/session-type.h (session_data): Add 'callbacks' field.
* modules/ssh/session.scm (make-session): Accept 'callbacks' as a keyed
argument.
* libguile-ssh/message-type.c (_scm_from_ssh_message): New procedure.
* libguile-ssh/message-type.h: Update.
* tests/session.scm ("session-set!, valid values")
("session-set!, invalid values"): Check new 'callbacks' option.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* ssh/session-func.c (guile_ssh_session_get): Handle `port' option.
* doc/api-sessions.texi (Sessions): Update.
* tests/session.scm ("session-get"): Update.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* ssh/session-func.c (guile_ssh_get_protocol_version)
(guile_ssh_authenticate_server, guile_ssh_get_server_public_key)
(guile_ssh_write_known_host): Expect a connected session as an
argument. Throw `wrong-type-arg' if the session is not connected.
* tests/session.scm ("get-protocol-version"): Move with some changes
to `tests/client-server.scm'.
* tests/client-server.scm ("get-protocol-version"): New TC.
* doc/api-sessions.texi (Sessions): Update.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
| |
* ssh/session-func.c (guile_ssh_session_get): New procedure.
* ssh/session-func.h (guile_ssh_session_get): Likewise.
* ssh/session.scm (session-get): New procedure.
* tests/session.scm ("session-get"): New TC.
* doc/api-sessions.texi (Sessions): Add description of `session-get'
procedure.
* NEWS: Update.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, am/Makefile.am, ssh/Makefile.am, ssh/auth.c,
ssh/auth.h, ssh/auth.scm, ssh/base64.c, ssh/base64.h,
ssh/channel-func.c, ssh/channel-func.h, ssh/channel-main.c,
ssh/channel-type.c, ssh/channel-type.h, ssh/channel.scm,
ssh/common.c, ssh/common.h, ssh/error.c, ssh/error.h,
ssh/key-func.c, ssh/key-func.h, ssh/key-main.c, ssh/key-type.c,
ssh/key-type.h, ssh/key.scm, ssh/message-func.c,
ssh/message-func.h, ssh/message-main.c, ssh/message-type.c,
ssh/message-type.h, ssh/message.scm, ssh/server-func.c,
ssh/server-func.h, ssh/server-main.c, ssh/server-type.c,
ssh/server-type.h, ssh/server.scm, ssh/session-func.c,
ssh/session-func.h, ssh/session-main.c, ssh/session-type.c,
ssh/session-type.h, ssh/session.scm, ssh/threads.c, ssh/threads.h,
ssh/version.c, ssh/version.scm, tests/Makefile.am,
tests/client-server.scm, tests/server-client.scm,
tests/server.scm, tests/session.scm, tests/sssh-ssshd.scm,
configure.ac: Replace `libguile-ssh' with `Guile-SSH' in
commentaries.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* tests/client-server.scm ("connect"): Update test to use symbols
for setting log levels.
* tests/server.scm ("server-set!, valid values"): Likewise.
("server-set!, invalid values"): Likewise.
("make-server"): Likewise.
("server-listen"): Likewise.
* tests/session.scm ("session-set!, valid values"): Likewise.
("session-set!, invalid values"): Update `log-verbosity' data set
for the test.
|
| |
|
|
|
| |
* tests/session.scm ("comparison of sessions"): Fix a typo in TC
name.
|
| |
|
|
|
| |
* tests/session.scm ("session-set!, valid values"): Fix bug in TC: try
all valid values for each option, not only the first one.
|
| |
|
|
|
| |
* tests/session.scm ("comparsion of sessions"): Use one test case
instead of two separated TCs (equal?/not equal? test).
|
| | |
|
|
|
* tests/session.scm, tests/auth.scm: New files.
* srfi/srfi-64.upstream.scm, srfi/srfi-64.scm: New files.
* Makefile.am (SCM_TESTS): New variable.
(TESTS): Likewise.
(TEST_EXTENSIONS): Likewise.
(AM_TESTS_ENVIRONMENT): Likewise.
(SCM_LOG_COMPILER): Likewise.
(AM_SCM_LOG_FLAGS): Likewise.
(tests): New target.
(CLEANFILES): Add .log-files produced by tests.
|