| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | 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 |
| * | 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. Poptsov | 2016-06-13 | 1 | -0/+36 |
| * | tests/client-server.scm: Improve sectioning a bit | Artyom V. Poptsov | 2016-06-13 | 1 | -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. Poptsov | 2016-06-13 | 1 | -0/+12 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-public-key!, wrong parameter"): New test
case.
| Artyom V. Poptsov | 2016-06-13 | 1 | -0/+5 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-get-list, non-connected"): New test case.
| Artyom V. Poptsov | 2016-06-13 | 1 | -0/+3 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-get-list, wrong parameter"): New test
case.
| Artyom V. Poptsov | 2016-06-13 | 1 | -0/+6 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-none!, wrong parameter"): New test case.
| Artyom V. Poptsov | 2016-06-13 | 1 | -0/+5 |
| * | tests/client-server.scm: Add a new TC•••* tests/client-server.scm ("userauth-none!, not connected"): New TC.
| Artyom V. Poptsov | 2016-06-13 | 1 | -0/+5 |
| * | tests/dist.scm ("rrepl-skip-to-prompt, invalid input"): Fix TC name | Artyom V. Poptsov | 2016-06-12 | 1 | -1/+1 |
| * | tests/dist.scm ("hand-out-job, invalid type"): New test case | Artyom V. Poptsov | 2016-06-12 | 1 | -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. 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 | 2 | -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. Poptsov | 2016-06-12 | 3 | -63/+72 |
| * | 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. Poptsov | 2016-05-03 | 1 | -6/+24 |
| * | 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 | 2 | -13/+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 | 2 | -23/+22 |
| * | 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/tunnel.scm ("call-with-ssh-forward"): Free allocated resources•••The test suite failes due to an overlap between "port forwarding, direct" and
"call-with-ssh-forward". Presumably a process that spawned by "port
forwarding, direct" keeps running and messes things up in the later tests.
The solution seems to be that all the resources allocated by the "port
forwarding, direct" should be freed as soon as they don't needed.
* tests/tunnel.scm ("call-with-ssh-forward"): Free allocated resources at the
end of the test.
| Artyom V. Poptsov | 2016-05-02 | 1 | -1/+4 |
| * | 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 |
| * | Merge branch 'master' into wip-libssh-0-7 | Artyom V. Poptsov | 2016-02-24 | 1 | -0/+2 |
| |\ |
|
| | * | tests/Makefile.am (CLEANFILES): Add 'server-{errors,libssh}.log' | Artyom V. Poptsov | 2016-02-24 | 1 | -0/+2 |
| * | | Merge branch 'master' into wip-libssh-0-7 | Artyom V. Poptsov | 2016-02-23 | 2 | -29/+49 |
| |\| |
|
| | * | 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/popen.scm ("open-remote-pipe, OPEN_BOTH"): New TC | Artyom V. Poptsov | 2016-02-23 | 1 | -0/+10 |
| | * | tests/popen.scm (response=?, input-only?, output-only?): New procedures•••* tests/popen.scm (response=?, input-only?, output-only?): New procedures.
Use them in test cases.
| Artyom V. Poptsov | 2016-02-23 | 1 | -23/+22 |
| | * | tests/popen.scm ("open-remote-pipe, OPEN_PTY_READ"): New TC•••* tests/popen.scm ("open-remote-pipe, OPEN_PTY_READ"): New test case.
("open-remote-pipe"): Rename to "open-remote-pipe, OPEN_READ".
| Artyom V. Poptsov | 2016-02-22 | 1 | -1/+14 |
| * | | Merge branch 'master' into wip-libssh-0-7 | Artyom V. Poptsov | 2016-02-22 | 1 | -44/+26 |
| |\| |
|
| | * | tests/client-server.scm (simple-server-proc): New procedure•••* tests/client-server.scm (simple-server-proc): New procedure.
("connect!, disconnect!", "get-protocol-version")
("authenticate-server, not-known", "authenticate-server, ok")
("get-public-key-hash"): Use it.
| Artyom V. Poptsov | 2016-02-22 | 1 | -20/+16 |
| | * | tests/client-server.scm: Remove calls to 'primitive-exit'•••* tests/client-server.scm: Don't call to 'primitive-exit' at the end of a
server process.
| Artyom V. Poptsov | 2016-02-22 | 1 | -29/+15 |