aboutsummaryrefslogtreecommitdiff
path: root/tests/client
AgeCommit message (Collapse)AuthorFilesLines
2015-09-07tests: Migrate to new cmocka APIAndreas Schneider11-99/+141
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-05-05tests: Apply umask before calling mkstemp()Andreas Schneider1-1/+3
CID: #978660 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-14torture: fix includes for freebsd10Aris Adamantiadis1-1/+3
2015-02-02tests: allow conditionnal execution on patternAris Adamantiadis11-13/+22
Option can be used to filter out irrelevant tests usage: ./torture_pki '*ed25519' Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-20tests: Add port option to torture_ssh_sessionAlan Dunn4-4/+4
Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-07-06examples: cast arguments of connect(2)Aris Adamantiadis1-1/+1
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-04-22Add tests for SHA2 HMAC algorithmsDirkjan Bussink1-25/+111
BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-03-27tests: torture_connect: add test for user provided socketLuka Perkov1-0/+25
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-03-27tests: torture_connect: fix coding styleLuka Perkov1-8/+7
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-02-04knownhosts: detect variations of ecdsaAris Adamantiadis1-10/+10
2014-02-01knownhosts: add test case for bug #138Aris Adamantiadis1-0/+43
2014-02-01known_hosts: add ssh_knownhosts_algorithms()Aris Adamantiadis1-3/+30
Goal of that function is to test the preferred key exchange methods based on what's available in the known_hosts file
2014-02-01Added known host test casesAris Adamantiadis1-0/+122
2014-01-16channel: Fix the name scheme of the forward functions.Andreas Schneider1-1/+1
2014-01-07tests: avoid reading uninitialized bytesAris Adamantiadis1-2/+2
2014-01-07examples: Make sure buffer is initialized.Andreas Schneider1-1/+1
2014-01-06test: fixed torture_auth_none conditionAris Adamantiadis1-2/+2
2014-01-06test: test case for async auth_noneAris Adamantiadis1-0/+59
This test currently fails
2014-01-06tests: auth_agent_nonblocking should run in nonblockingAris Adamantiadis1-0/+2
2014-01-06tests: use LC_LIBSSH instead of LANG for env tests.Aris Adamantiadis1-2/+2
LANG is stripped and replaced on many distros and LC_* is accepted by default on debian
2013-12-15tests: Fix non-blocking auth tests.Andreas Schneider1-7/+15
The ssh_userauth_none() call should already be non-blocking. However this this function is broken in non-blocking mode. It should reveal the existing bug.
2013-12-15tests: Fix blocking mode in password auth test.Andreas Schneider1-1/+1
2013-12-15tests: Use new auth API in the torture_session test.Andreas Schneider1-2/+3
2013-12-15tests: Use new auth API in the torture_auth test.Andreas Schneider1-10/+19
2013-12-04tests: Try to fix torture_forward.Andreas Schneider1-4/+4
2013-11-28tests: Add missing line breaks.Andreas Schneider1-2/+2
2013-11-27tests: Try to fix valgrind warnings.Andreas Schneider2-4/+4
2013-10-23tests: Add a sftp_read blocking test.Andreas Schneider2-0/+84
2013-10-20tests: Add a test for ssh_channel_request_env().Andreas Schneider2-0/+115
2013-10-20tests: We can't test the accept right now.Andreas Schneider1-1/+5
2013-10-20tests: Fix torture_forward.Andreas Schneider1-3/+4
2013-10-20tests: Add torture forward test.Andreas Schneider2-0/+90
2013-07-21tests: Don't leak memory in torture_channel_read_error().Andreas Schneider1-0/+2
2013-06-11tests: Check the return value of write.Andreas Schneider1-1/+2
2012-12-27Report according status when errors are detectedAris Adamantiadis1-0/+1
2012-12-27Test for bug #64, ssh_channel_read doesn't detect errorsAris Adamantiadis1-0/+108
2012-10-07tests: Make sure the array is null terminated.Andreas Schneider1-2/+2
2012-10-07tests: Don't run ecdh tests if not supported by crypto lib.Andreas Schneider1-2/+2
2012-10-07test: Use cmocka instead of cmockery.Andreas Schneider1-7/+7
cmocka is the successor of cmockery. http://git.cryptomilk.org/projects/cmocka.git/
2012-02-07tests: Fix known_hosts test.Andreas Schneider1-2/+2
2011-09-23build: Fix zlib support.Andreas Schneider1-6/+6
2011-09-23torture_algorithm: follow verbosityAris Adamantiadis1-0/+2
2011-09-23torture: check for presence of ssh agentAris Adamantiadis1-2/+9
2011-09-11tests: nonblocking keyboard-interactiveAris Adamantiadis1-0/+55
2011-09-11Test: added torture_auth_autopubkey_nonblockingAris Adamantiadis1-0/+32
2011-09-11Tests: unit test for agent authenticationAris Adamantiadis1-0/+59
2011-09-02unittests:make sftp_dir pass on my laptopAris Adamantiadis1-0/+2
2011-08-30tests: Enable ecdh_sha2_nistp256 test only with openssl.Andreas Schneider1-0/+4
2011-08-22tests: Fix torture test with zlib support.Andreas Schneider1-9/+33
2011-06-12Test for ecdh and dh-group1Aris Adamantiadis1-0/+43