| Commit message (Expand) | Author | Age | Files | Lines |
| * | channel-func.c (guile_ssh_channel_get_exit_status): Handle freed channels•••* libguile-ssh/channel-func.c (guile_ssh_channel_get_exit_status): Throw
'wrong-type-arg' if a freed channel is passed as an argument.
* libguile-ssh/channel-type.h (GSSH_VALIDATE_OPEN_CHANNEL): Check if a channel
is freed.
* tests/client-server.scm ("channel-get-exit-status, freed channel"): New test
case.
* tests/common.scm (test-error-with-log/=): Check error key and message
properly.
(test-error-with-log): Check an error key.
(test-error-with-log/handler): Remove extra rules.
* NEWS: Update.
| Artyom V. Poptsov | 2017-05-22 | 1 | -8/+29 |
| * | node.scm (node-guile-version): Bugfix•••'node-guile-version' would always fail due to a wrong call to 'rexec'
procedure passing it a node object instead of a session object. This patch
fixes the bug.
Reported by Mark H Weaver <mhw@netris.org> and Ludovic Courtès <ludo@gnu.org>:
<https://bugs.gnu.org/26976>
* modules/ssh/dist/node.scm (node-guile-version): Pass node session to a
'rexec' procedure instead of a node object.
* tests/common.scm (start-server/exec): Handle node version requests.
* tests/dist.scm ("node-guile-version, valid response"): New test case.
* NEWS: Update.
| Artyom V. Poptsov | 2017-05-21 | 1 | -0/+12 |
| * | tests/common.scm (start-server-loop): Improve logging and error handling | Artyom V. Poptsov | 2017-05-08 | 1 | -6/+19 |
| * | build: Allow VPATH builds.•••This fixes builds where $(builddir) != $(srcdir).
* examples/Makefile.am (.in): Use $(MKDIR_P) to make the target's parent
directories.
* tests/common.scm (%topbuilddir): New variable.
* tests/sssh-ssshd.scm (*ssshd-cmd*, *sssh-cmd*): Use it instead of %TOPDIR.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -0/+2 |
| * | tests/shell.scm ("loadavg"): New TC•••* tests/shell.scm ("loadavg"): New TC.
* tests/common.scm (start-server/exec): Handle "loadavg" request.
| Artyom V. Poptsov | 2017-01-02 | 1 | -0/+5 |
| * | tests/common.scm (start-server/exec): Close output pipe | Artyom V. Poptsov | 2017-01-01 | 1 | -0/+1 |
| * | tests/shell.scm ("fallback-pgrep"): New TC•••* tests/shell.scm ("fallback-pgrep"): New TC.
* tests/common.scm (start-server/exec): Handle 'fallback-pgrep' request.
| Artyom V. Poptsov | 2017-01-01 | 1 | -0/+8 |
| * | tests/shell.scm ("which"): New TC•••* tests/shell.scm ("which"): New TC.
* tests/common.scm (start-server/exec): Echo the received command back by
default.
| Artyom V. Poptsov | 2017-01-01 | 1 | -0/+5 |
| * | tests/common.scm: (start-server/exec): Send EOF after response•••* tests/common.scm: (start-server/exec): Send EOF after response.
| Artyom V. Poptsov | 2016-12-31 | 1 | -2/+10 |
| * | libguile-ssh/key-type.c (free_key_smob): Bugfix: Check smob type•••* libguile-ssh/key-type.c (free_key_smob): Bugfix: Check if the smob is
already freed, don't try to free it once more.
* tests/common.scm (test-begin-with-log): Set log verbosity to the highest
level by default.
* tests/key.scm: Perform test with logging.
| Artyom V. Poptsov | 2016-08-19 | 1 | -0/+1 |
| * | tests/common.scm (call-with-connected-session): Ensure that session is connected•••* tests/common.scm (call-with-connected-session): Ensure that session is connected.
* tests/tunnel.scm ("make-tunnel"): Improve test case: start server process
before testing of the client part.
| Artyom V. Poptsov | 2016-07-15 | 1 | -1/+4 |
| * | tests/common.scm: Don't export internal procedures•••* tests/common.scm (setup-libssh-logging!, setup-error-logging!)
(setup-test-suite-logging!): Don't export.
| Artyom V. Poptsov | 2016-07-04 | 1 | -3/+0 |
| * | 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 | -0/+5 |
| * | tests/common.scm (call-with-connected-session): New procedure•••* tests/client-server.scm (call-with-connected-session): Move to 'common.scm'.
* tests/common.scm (call-with-connected-session): New procedure.
* tests/popen.scm: Use it. Update tests.
(call-with-connected-session/popen): New procedure. Use it in the tests.
| Artyom V. Poptsov | 2016-07-03 | 1 | -0/+11 |
| * | tests/common.scm (test-equal-with-log): New macro•••* tests/common.scm (test-equal-with-log): New macro.
* tests/client-server.scm: Use it.
| Artyom V. Poptsov | 2016-07-03 | 1 | -0/+5 |
| * | tests/common.scm (test-error-with-log): Bugfix•••* tests/common.scm (test-error-with-log): Bugfix: Call
'test-error-with-log/handler' properly, with the test name as the 1st
parameter.
| Artyom V. Poptsov | 2016-07-03 | 1 | -1/+1 |
| * | tests/common.scm (test-error-with-log/=): New macro•••* tests/common.scm (test-error-with-log/=): New macro.
(test-error-with-log/handler): New macro.
(test-error-with-log): Use 'test-error-with-log/handler'.
* tests/dist.scm ("rrepl-get-result, error"): Use 'test-error-with-log/='.
| Artyom V. Poptsov | 2016-07-03 | 1 | -5/+24 |
| * | tests/common.scm (test-error-with-log): Bugfix•••* tests/common.scm (test-error-with-log): Bugfix: Handle 2nd syntax rule
properly.
| Artyom V. Poptsov | 2016-06-12 | 1 | -4/+4 |
| * | tests/common.scm (test-error-with-log): New macro•••* tests/common.scm (test-error-with-log): New macro.
* tests/dist.scm ("rrepl-skip-to-prompt, invalid input"): Use it.
| Artyom V. Poptsov | 2016-06-12 | 1 | -0/+14 |
| * | tests/common.scm (start-session-loop): New procedure•••* tests/common.scm (start-session-loop): New procedure.
(start-server-loop, start-server/dist-test): Use it.
(make-session-loop): Remove the macro.
* tests/client-server.scm ("userauth-none!, success")
("userauth-none!, denied", "userauth-none!, partial")
("userauth-password!, success", "userauth-password!, denied")
("userauth-password!, partial", "userauth-public-key!, success")
("userauth-get-list"): Use 'start-session-loop'.
* tests/dist.scm ("with-ssh"): Likewise.
| Artyom V. Poptsov | 2016-06-12 | 1 | -12/+13 |
| * | tests/common.scm (run-client-test): Add extra logging | Artyom V. Poptsov | 2016-05-03 | 1 | -0/+7 |
| * | tests/common.scm (format-log/scm): Export | Artyom V. Poptsov | 2016-05-03 | 1 | -0/+1 |
| * | tests/common.scm (make-server-for-test): Protect with a mutex•••* tests/common.scm (make-server-for-test): Protect the whole part of getting a
free port and calling 'server-listen' with a mutex so different processes
trying to make a server won't interfere with each other.
* tests/client-server.scm: Remove extra 'server-listen' calls.
| Artyom V. Poptsov | 2016-05-03 | 1 | -11/+19 |
| * | tests/client-server.scm (start-server/channel-test): Use 'start-server-loop'•••* tests/common.scm (start-server-loop): Export.
* tests/client-server.scm (start-server/channel-test): Use it.
| Artyom V. Poptsov | 2016-05-02 | 1 | -0/+1 |
| * | tests/common.scm (start-server/exec): Simplify a bit | Artyom V. Poptsov | 2016-05-02 | 1 | -4/+3 |
| * | tests/common.scm (multifork): Collect statues of processes•••* tests/common.scm (multifork): Collect statuses of child processes after
terminating them.
| Artyom V. Poptsov | 2016-05-02 | 1 | -1/+2 |
| * | tests/common.scm (start-server-loop): New procedure•••* tests/common.scm (start-server-loop): New procedure.
(start-server/dt-test, start-server/exec): Use it.
| Artyom V. Poptsov | 2016-05-02 | 1 | -36/+38 |
| * | tests/common.scm (start-server/dt-test): Simplify a bit | Artyom V. Poptsov | 2016-05-02 | 1 | -2/+0 |
| * | tests/common.scm (make-server-for-test): Pick an unused port•••* tests/common.scm (make-server-for-test): Use pick an unused port.
| Artyom V. Poptsov | 2016-05-02 | 1 | -1/+1 |
| * | tests/common.scm (get-unused-port): Protect with a mutex•••* tests/common.scm (get-unused-port): Protect the critical section with a
mutex.
| Artyom V. Poptsov | 2016-05-02 | 1 | -1/+4 |
| * | tests/common.scm (run-client-test/separate-process): Use 'poll' | Artyom V. Poptsov | 2016-02-23 | 1 | -5/+5 |
| * | tests/common.scm (start-server/dt-test): Use 'poll' | Artyom V. Poptsov | 2016-02-23 | 1 | -4/+1 |
| * | tests/common.scm (multifork): Use 'cut' | Artyom V. Poptsov | 2016-02-23 | 1 | -2/+3 |
| * | tests/common.scm (poll): New procedure•••* tests/common.scm (poll): New procedure.
* tests/popen.scm: Use it.
| Artyom V. Poptsov | 2016-02-21 | 1 | -1/+12 |
| * | tests/common.scm (start-server/exec): New procedure•••* tests/common.scm (start-server/exec): New procedure.
* tests/client-server.scm ("open-remote-pipe", "open-remote-pipe*")
("open-remote-input-pipe"): Use it.
| Artyom V. Poptsov | 2015-12-06 | 1 | -0/+28 |
| * | 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/+3 |
| * | tests/common.scm (start-server/dist-test): Simplify a bit•••* tests/common.scm (start-server/dist-test): Remove 'rwproc' argument, remove
unused code, don't call 'primitive-exit' at the end. All callers updated.
* tests/tunnel.scm ("channel-{listen,cancel}-forward"): Update.
| Artyom V. Poptsov | 2015-11-24 | 1 | -5/+3 |
| * | tests/common.scm (run-server-test): Use 'multifork' | Artyom V. Poptsov | 2015-11-23 | 1 | -12/+13 |
| * | Merge branch 'master' into wip-session-callbacks | Artyom V. Poptsov | 2015-11-22 | 1 | -1/+1 |
| |\ |
|
| | * | tests/common.scm (multifork): Bugfix: add missing paren | Artyom V. Poptsov | 2015-11-22 | 1 | -1/+1 |
| * | | Merge branch 'master' into wip-session-callbacks | Artyom V. Poptsov | 2015-11-22 | 1 | -0/+2 |
| |\| |
|
| | * | tests/common.scm: Set '*port*' to an unused port | Artyom V. Poptsov | 2015-11-22 | 1 | -0/+2 |
| * | | Merge branch 'master' into wip-session-callbacks | Artyom V. Poptsov | 2015-11-22 | 1 | -44/+77 |
| |\| |
|
| | * | tests/common.scm (multifork): Kill spawned processes | Artyom V. Poptsov | 2015-11-22 | 1 | -1/+6 |
| | * | tests/common.scm (multifork): New procedure•••* tests/common.scm (multifork, format-log/scm): New procedures.
(run-client-test, run-client-test/separate-process): Use 'multifork' to
simplify the things a bit.
| Artyom V. Poptsov | 2015-11-22 | 1 | -44/+72 |
| * | | tests/common.scm (start-server/dist-test): Simplify the procedure | Artyom V. Poptsov | 2015-11-22 | 1 | -14/+2 |
| * | | tests/tunnel.scm ("channel-{listen,cancel}-forward"): New TC•••* tests/tunnel.scm ("channel-{listen,cancel}-forward"): New TC.
* tests/common.scm (start-server/dist-test): New procedure.
| Artyom V. Poptsov | 2015-11-19 | 1 | -0/+44 |
| |/ |
|
| * | tests: Move keys to 'tests/keys' directory•••* tests/rsakey, tests/rsakey.pub, tests/dsakey, tests/dsakey.pub,
tests/ecdsakey, tests/ecdsakey.pub,: Move to 'tests/keys' directory.
* tests/common.scm: Update pathes to keys.
* tests/Makefile.am (EXTRA_DIST): Update.
| Artyom V. Poptsov | 2015-10-29 | 1 | -6/+6 |
| * | tests/common.scm: Add global symbols for keys•••* tests/common.scm (%rsakey-pub, %dsakey-pub, %ecdsakey, %ecdsakey-pub): Add
and export global symbols.
| Artyom V. Poptsov | 2015-10-29 | 1 | -2/+15 |
| * | tests/common.scm (rsakey): Remove | Artyom V. Poptsov | 2015-10-29 | 1 | -2/+0 |