summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* libguile-ssh/log.h: Replace 'import' with 'include'wip-better-loggingArtyom V. Poptsov2016-07-171-1/+1
* Merge branch 'master' into wip-better-loggingArtyom V. Poptsov2016-07-1717-395/+598
|\
| * tests/tunnel.scm ("call-with-ssh-forward"): Use 'poll'•••* tests/tunnel.scm ("call-with-ssh-forward"): Use 'poll' procedure from 'common.scm'. Artyom V. Poptsov2016-07-161-2/+1
| * tests/tunnel.scm ("port forwarding, direct"): Use 'poll'•••* tests/tunnel.scm ("port forwarding, direct"): Use 'poll' procedure from 'common.scm'. Artyom V. Poptsov2016-07-161-2/+1
| * tests/dist.scm: Update copyright datesArtyom V. Poptsov2016-07-151-1/+1
| * tests/dist.scm ("with-ssh"): Simplify the client partArtyom V. Poptsov2016-07-151-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. Poptsov2016-07-152-14/+24
| * tests/tunnel.scm: Update copyright datesArtyom V. Poptsov2016-07-041-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. Poptsov2016-07-041-15/+18
| * tests/tunnel.scm: Use 'test-equal-with-log'•••* tests/tunnel.scm: Use 'test-equal-with-log' where it is possible. Artyom V. Poptsov2016-07-041-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. Poptsov2016-07-041-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. Poptsov2016-07-041-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. Poptsov2016-07-049-68/+28
| * tests/popen.scm: Update copyright datesArtyom V. Poptsov2016-07-041-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. Poptsov2016-07-033-42/+48
| * tests/client-server.scm ("userauth-public-key!, success"): CleanupArtyom V. Poptsov2016-07-031-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. Poptsov2016-07-031-101/+68
| * tests/session.scm ("blocking-flush!"): Improve•••* tests/session.scm ("blocking-flush!"): Use 'test-equal-with-log', simplify a bit. Artyom V. Poptsov2016-07-031-4/+3
| * tests/log.scm: Use 'test-equal' where it's possibleArtyom V. Poptsov2016-07-031-10/+15
| * tests/dist.scm ("split"): Split into two testsArtyom V. Poptsov2016-07-031-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. Poptsov2016-07-032-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. Poptsov2016-07-031-1/+1
| * modules/srfi: Compile SRFI-64 module•••* modules/srfi/Makefile.am: Add to the repository. * modules/Makefile.am (SUBDIRS): Add 'srfi' * configure.ac: Update. Artyom V. Poptsov2016-07-033-1/+48
| * tests/Makefile.am: Compile 'common.scm'Artyom V. Poptsov2016-07-031-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. Poptsov2016-07-032-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. Poptsov2016-06-151-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. Poptsov2016-06-151-0/+20
| * tests/client-server.scm: Add new TCs•••* tests/client-server.scm ("userauth-password!, session: non-session object") ("userauth-password!, session: non-connected session") ("userauth-password!, password: non-string object"): Add new TCs. Artyom V. Poptsov2016-06-131-0/+36
| * tests/client-server.scm: Improve sectioning a bitArtyom V. Poptsov2016-06-131-0/+7
| * tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-public-key!, non-connected session"): Add new test case. Artyom V. Poptsov2016-06-131-0/+12
| * tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-public-key!, wrong parameter"): New test case. Artyom V. Poptsov2016-06-131-0/+5
| * tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-get-list, non-connected"): New test case. Artyom V. Poptsov2016-06-131-0/+3
| * tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-get-list, wrong parameter"): New test case. Artyom V. Poptsov2016-06-131-0/+6
| * tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-none!, wrong parameter"): New test case. Artyom V. Poptsov2016-06-131-0/+5
| * tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-none!, not connected"): New TC. Artyom V. Poptsov2016-06-131-0/+5
| * .dir-locals.el: UpdateArtyom V. Poptsov2016-06-131-1/+2
| * tests/dist.scm ("rrepl-skip-to-prompt, invalid input"): Fix TC nameArtyom V. Poptsov2016-06-121-1/+1
| * tests/dist.scm ("hand-out-job, invalid type"): New test caseArtyom V. Poptsov2016-06-121-0/+4
| * tests/common.scm (test-error-with-log): Bugfix•••* tests/common.scm (test-error-with-log): Bugfix: Handle 2nd syntax rule properly. Artyom V. Poptsov2016-06-121-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. Poptsov2016-06-122-8/+18
| * 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. Poptsov2016-06-123-63/+72
| * tunnel.scm (make-tunnel-channel): Use 'unless'•••* modules/ssh/tunnel.scm (make-tunnel-channel): Use 'unless' instead of 'or' for error checking. Artyom V. Poptsov2016-06-121-3/+3
| * node.scm (rexec): Read all output lines•••* modules/ssh/dist/node.scm (rexec): Read all output lines, return the list of lines. All callers updated. (node-guile-version): Update. Artyom V. Poptsov2016-06-121-4/+10
* | Merge branch 'master' into wip-better-loggingArtyom V. Poptsov2016-05-033-21/+53
|\|
| * tests/client-server.scm (make-session/channel-test): Improve•••* tests/client-server.scm (make-session/channel-test): Try to connect several times before giving up. Improve logging. Artyom V. Poptsov2016-05-031-6/+24
| * tests/common.scm (run-client-test): Add extra loggingArtyom V. Poptsov2016-05-031-0/+7
| * tests/common.scm (format-log/scm): ExportArtyom V. Poptsov2016-05-031-0/+1
| * doc/version.texi: UpdateArtyom V. Poptsov2016-05-031-2/+2
| * 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. Poptsov2016-05-032-13/+19
* | libguile-ssh/log.h: Add missed includeArtyom V. Poptsov2016-05-031-0/+2