| Commit message (Expand) | Author | Age | Files | Lines |
| * | node.scm (rrepl-get-result): Handle unknown # objects properly•••The procedure would always fail to read unknown objects (e.g. instances
of Guile-SSH session) properly, raising an obscure errors like
"Unknown # object: #\<". Now the procedure raises 'node-repl-error'
with full evaluation result gotten from RREPL.
Reported by Mathieu, in
<https://github.com/artyom-poptsov/guile-ssh/issues/3>
* modules/ssh/dist/node.scm (rrepl-get-result): Handle unknown # objects
properly.
* tests/dist.scm ("rrepl-get-result, unknown # object error"): New test case.
* NEWS: Update
| Artyom V. Poptsov | 2017-05-02 | 1 | -0/+9 |
| * | node.scm (rrepl-get-result): Handle "unbound variable" errors•••The procedure would always fail to read "unbound variable" errors properly,
returning wrong result with only two values (current module name and current
language name). Now this bug should be fixed.
Reported by Mathieu, in
<https://github.com/artyom-poptsov/guile-ssh/issues/3>
* modules/ssh/dist/node.scm (rrepl-get-result): Handle "unbound variable"
errors.
* tests/dist.scm ("rrepl-get-result, unbound variable error"): New test case.
* AUTHORS, NEWS: Update.
| Artyom V. Poptsov | 2017-04-30 | 1 | -0/+13 |
| * | tests/tunnel.scm ("call-with-ssh-forward"): Wait for 1s before polling•••* tests/tunnel.scm ("call-with-ssh-forward"): Wait for 1s before polling to
prevent errors (yes, that's a dirty hack but it works for me... most of the
time.)
| Artyom V. Poptsov | 2017-04-23 | 1 | -0/+1 |
| * | Merge branch 'master' into ludo-guile2.2 | Artyom V. Poptsov | 2017-04-23 | 1 | -7/+20 |
| |\ |
|
| | * | node.scm (rrepl-get-result): Bugfix: Handle compilation errors•••Guile-SSH would always fail to read compilation errors properly because it
considered the message as "undefined" result. Now this bug should be fixed.
An example of an error that now should be handled is "no code for module" due
to using a non-existing module in 'with-ssh' expression.
Reported by Mathieu, in
<https://github.com/artyom-poptsov/guile-ssh/issues/3>
* modules/ssh/dist/node.scm (rrepl-get-result): Bugfix: Do not consider
compilation errors as undefined results.
(rrepl-eval): Call 'exit' on the remote side to ensure that the remote side
closed a channel.
* tests/dist.scm: Improve logging.
("rrepl-get-result, compilation error"): New TC.
* doc/guile-ssh.texi (Acknowledgments): Update.
* AUTHORS, NEWS, THANKS: Update.
| Artyom V. Poptsov | 2017-04-23 | 1 | -7/+20 |
| * | | 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 | 2 | -2/+4 |
| * | | tests: Use 'inet-ntop' instead of 'inet-ntoa'.•••* tests/sssh-ssshd.scm (*sssh-cmd*): Use 'inet-ntop' instead of the
deprecated 'inet-ntoa'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -1/+1 |
| |/ |
|
| * | tests/server-client.scm ("message-get-type"): Wait for a session•••* tests/server-client.scm ("message-get-type"): Wait for a session to be
connected on the client side.
| Artyom V. Poptsov | 2017-01-04 | 1 | -3/+3 |
| * | tests/dist.scm ("with-ssh"): Wait for the client process•••* tests/dist.scm ("with-ssh"): Wait for the client process to read the
response.
| Artyom V. Poptsov | 2017-01-04 | 1 | -2/+2 |
| * | tests/shell.scm ("pgrep"): New TC•••* tests/shell.scm ("pgrep"): New test case.
| Artyom V. Poptsov | 2017-01-04 | 1 | -0/+12 |
| * | 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 | 2 | -0/+14 |
| * | tests/shell.scm ("command-available?"): New TC•••* tests/shell.scm ("command-available?"): New TC
| Artyom V. Poptsov | 2017-01-01 | 1 | -0/+8 |
| * | 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 | 2 | -0/+19 |
| * | tests/shell.scm: Update copyright dates | Artyom V. Poptsov | 2017-01-01 | 1 | -1/+1 |
| * | 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 | 2 | -0/+16 |
| * | tests/shell.scm: Add to the repository•••* tests/shell.scm: Add to the repository.
* tests/Makefile.am (SCM_TESTS): Add 'shell.scm'.
| Artyom V. Poptsov | 2016-12-31 | 2 | -0/+66 |
| * | 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 |
| * | channel.scm: Remove trailing bang from 'channel-send-eof'.•••This procedure merely does I/O without mutating its argument, so it does
not deserve the trailing '!' (similar to Scheme's 'write',
'put-bytevector', etc. procedures).
* libguile-ssh/channel-func.c (gssh_channel_send_eof_x): Rename to...
(gssh_channel_send_eof): ... this. Change Scheme name to
'%channel-send-eof'. Adjust caller.
* modules/ssh/channel.scm (channel-send-eof!): Rename to...
(channel-send-eof): ... this.
* tests/client-server.scm ("channel-send-eof!"): Rename to...
("channel-send-eof"): ... this. Adjust accordingly.
* doc/api-channels.texi (Channel Management): Adjust accordingly.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 1 | -2/+2 |
| * | channel.scm (channel-send-eof!): New procedure•••* modules/ssh/channel.scm (channel-send-eof!): New procedure.
* libguile-ssh/channel-func.c (gssh_channel_send_eof_x): New procedure.
* doc/api-channels.texi: Add description of 'channel-send-eof!'.
* tests/client-server.scm ("channel-send-eof!"): New TC.
* doc/version.texi, NEWS: Update.
| Artyom V. Poptsov | 2016-10-30 | 1 | -0/+26 |
| * | tests/Makefile.am (CLEANFILES): Add 'key-*.log' files | Artyom V. Poptsov | 2016-08-19 | 1 | -0/+2 |
| * | 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 | 2 | -0/+20 |
| * | 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 | 2 | -8/+9 |
| * | tests/tunnel.scm ("call-with-ssh-forward"): Use 'poll' procedure | Artyom V. Poptsov | 2016-08-07 | 1 | -1/+3 |
| * | tests/client-server.scm: Add TCs for 'userauth-public-key/auto!' | Artyom V. Poptsov | 2016-08-07 | 1 | -0/+16 |
| * | tests/client-server.scm: Improve some TCs•••* tests/client-server.scm (call-with-connected-session/channel-test): New
procedure. Use it instead of 'make-session/channel-test'.
(make-session/channel-test): Remove.
| Artyom V. Poptsov | 2016-07-17 | 1 | -64/+68 |
| * | tests/tunnel.scm ("call-with-ssh-forward"): Use 'poll'•••* tests/tunnel.scm ("call-with-ssh-forward"): Use 'poll' procedure from
'common.scm'.
| Artyom V. Poptsov | 2016-07-16 | 1 | -2/+1 |
| * | tests/tunnel.scm ("port forwarding, direct"): Use 'poll'•••* tests/tunnel.scm ("port forwarding, direct"): Use 'poll' procedure from
'common.scm'.
| Artyom V. Poptsov | 2016-07-16 | 1 | -2/+1 |
| * | tests/dist.scm: Update copyright dates | Artyom V. Poptsov | 2016-07-15 | 1 | -1/+1 |
| * | tests/dist.scm ("with-ssh"): Simplify the client part | Artyom V. Poptsov | 2016-07-15 | 1 | -14/+9 |
| * | 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 | 2 | -14/+24 |
| * | tests/tunnel.scm: Update copyright dates | Artyom V. Poptsov | 2016-07-04 | 1 | -1/+1 |
| * | tests/tunnel.scm (call-with-forward-channel): New proc•••* tests/tunnel.scm (call-with-forward-channel): New procedure.
Use it instead of 'make-channel/pf-test'.
('make-channel/pf-test): Remove.
| Artyom V. Poptsov | 2016-07-04 | 1 | -15/+18 |
| * | tests/tunnel.scm: Use 'test-equal-with-log'•••* tests/tunnel.scm: Use 'test-equal-with-log' where it is possible.
| Artyom V. Poptsov | 2016-07-04 | 1 | -13/+13 |
| * | tests/tunnel.scm (call-with-connected-session/tunnel): New proc•••* tests/tunnel.scm (call-with-connected-session/tunnel): New procedure.
Use it in the tests.
| Artyom V. Poptsov | 2016-07-04 | 1 | -51/+52 |
| * | 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 | 9 | -68/+28 |
| * | tests/popen.scm: Update copyright dates | Artyom V. Poptsov | 2016-07-04 | 1 | -1/+1 |
| * | 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 | 3 | -42/+48 |
| * | tests/client-server.scm ("userauth-public-key!, success"): Cleanup | Artyom V. Poptsov | 2016-07-03 | 1 | -2/+2 |
| * | tests/client-server.scm (call-with-connected-session): New proc•••* tests/client-server.scm (call-with-connected-session): New procedure. Use
it everywhere in tests.
("connect!, disconnect!", "get-protocol-version")
("authenticate-server, not-known", "authenticate-server, ok")
("get-public-key-hash", "userauth-none!, denied")
("userauth-none!, partial")
("userauth-password!, password: non-string object")
("userauth-password!, success", "userauth-password!, denied")
("userauth-password!, partial")
("userauth-public-key!, private-key: non-key object")
("userauth-public-key!, private-key: public key")
("userauth-public-key!, success", "userauth-get-list"):
Update. Remove extra delays.
| Artyom V. Poptsov | 2016-07-03 | 1 | -101/+68 |
| * | 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 |
| * | tests/log.scm: Use 'test-equal' where it's possible | Artyom V. Poptsov | 2016-07-03 | 1 | -10/+15 |
| * | tests/dist.scm ("split"): Split into two tests | Artyom V. Poptsov | 2016-07-03 | 1 | -3/+9 |
| * | 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 | 2 | -24/+39 |
| * | 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/Makefile.am: Compile 'common.scm' | Artyom V. Poptsov | 2016-07-03 | 1 | -2/+32 |
| * | 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 | 2 | -13/+28 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm
("userauth-public-key!, private-key: public key"): New test case.
| Artyom V. Poptsov | 2016-06-15 | 1 | -0/+20 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm
("userauth-public-key!, private-key: non-key object"): Add a new test case.
| Artyom V. Poptsov | 2016-06-15 | 1 | -0/+20 |