| Commit message (Expand) | Author | Age | Files | Lines |
| * | tests/key.scm ("string->public-key, RSA, gc test"): New TC•••* tests/key.scm ("string->public-key, RSA, gc test"): New TC.
* tests/session.scm ("%make-session, gc test"): New TC.
| Artyom V. Poptsov | 2016-08-19 | 1 | -0/+10 |
| * | tests/common.scm (test-begin-with-log): New procedure•••* 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.
| Artyom V. Poptsov | 2016-07-04 | 1 | -6/+1 |
| * | tests/session.scm ("blocking-flush!"): Improve•••* tests/session.scm ("blocking-flush!"): Use 'test-equal-with-log', simplify a
bit.
| Artyom V. Poptsov | 2016-07-03 | 1 | -4/+3 |
| * | session.scm: Implement SSH config parsing•••* 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.
| Artyom V. Poptsov | 2015-12-01 | 1 | -0/+8 |
| * | session-func.c (set_callbacks): Validate callbacks•••* 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.
| Artyom V. Poptsov | 2015-11-20 | 1 | -1/+2 |
| * | tests/session.scm ("session-set!, valid values"): Bugfix•••* 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.
| Artyom V. Poptsov | 2015-11-20 | 1 | -3/+3 |
| * | tests/session.scm: Setup logging | Artyom V. Poptsov | 2015-11-20 | 1 | -0/+7 |
| * | tests/session.scm ("session-get"): Test callbacks | Artyom V. Poptsov | 2015-11-19 | 1 | -2/+7 |
| * | libguile-ssh: Add basic support of session callbacks•••* 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.
| Artyom V. Poptsov | 2015-11-18 | 1 | -2/+5 |
| * | tests/session.scm ("session-set!, invalid values"): Use 'const' | Artyom V. Poptsov | 2015-10-29 | 1 | -2/+1 |
| * | tests/session.scm: Use (tests common) | Artyom V. Poptsov | 2015-10-29 | 1 | -5/+6 |
| * | ssh/session-func.c (guile_ssh_session_get): Handle `port' option•••* ssh/session-func.c (guile_ssh_session_get): Handle `port' option.
* doc/api-sessions.texi (Sessions): Update.
* tests/session.scm ("session-get"): Update.
| Artyom V. Poptsov | 2014-08-09 | 1 | -0/+3 |
| * | ssh/session-func.c: Handle disconnected sessions•••* 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.
| Artyom Poptsov | 2014-07-12 | 1 | -4/+0 |
| * | ssh/session.scm (session-get): New procedure•••* 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.
| Artyom Poptsov | 2014-06-22 | 1 | -0/+16 |
| * | Replace `libguile-ssh' with `Guile-SSH' in commentaries.•••* 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.
| Artyom Poptsov | 2014-03-23 | 1 | -4/+4 |
| * | tests/session.scm, tests/server.scm: Update comments. | Artyom Poptsov | 2014-01-29 | 1 | -0/+4 |
| * | tests/: Update TCs to use symbols for `log-verbosity' option.•••* 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.
| Artyom Poptsov | 2014-01-28 | 1 | -2/+3 |
| * | tests/session.scm: Fix a typo in a TC name.•••* tests/session.scm ("comparison of sessions"): Fix a typo in TC
name.
| Artyom Poptsov | 2014-01-26 | 1 | -1/+1 |
| * | tests/session.scm: Fix bug in TC.•••* tests/session.scm ("session-set!, valid values"): Fix bug in TC: try
all valid values for each option, not only the first one.
| Artyom Poptsov | 2014-01-26 | 1 | -1/+1 |
| * | tests/session.scm ("comparsion of sessions"): New TC.•••* tests/session.scm ("comparsion of sessions"): Use one test case
instead of two separated TCs (equal?/not equal? test).
| Artyom Poptsov | 2014-01-26 | 1 | -8/+5 |
| * | tests/session.scm ("session?"): New test case. | Artyom Poptsov | 2014-01-26 | 1 | -0/+6 |
| * | Add some unit tests.•••* 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.
| Artyom Poptsov | 2014-01-26 | 1 | -0/+110 |