summaryrefslogtreecommitdiffstats
path: root/tests/torture.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add tests for the new ssh_pki cert functionsAxel Eppe2015-09-071-0/+59
| | | | | Signed-off-by: Axel Eppe <aeppe@google.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* tests: Migrate to new cmocka APIAndreas Schneider2015-09-071-12/+5
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* torture: Move TORTURE_TESTKEY_PASSWORD to headerAndreas Schneider2015-05-061-2/+0
| | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
* tests: allow conditionnal execution on patternAris Adamantiadis2015-02-021-0/+39
| | | | | | | | 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>
* tests: Add ed25519 encrypted keys importAris Adamantiadis2015-02-021-1/+17
| | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* tests: Add ed25519 OpenSSH key loading and operationsAris Adamantiadis2015-02-021-0/+19
| | | | | Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* tests: Fix torture_server_x11().Andreas Schneider2015-01-211-2/+22
|
* tests: Add ssh server setup functionalityAlan Dunn2015-01-201-0/+44
| | | | | | | | | Add the ability to generate a keypair (RSA, but tests that focus on what occurs over a connection may well not care) and an ssh_bind easily. Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* tests: Add port option to torture_ssh_sessionAlan Dunn2015-01-201-0/+7
| | | | | Signed-off-by: Alan Dunn <amdunn@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* torture: fix warning for SSH_KEYTYPE_ED25519Jon Simons2014-12-091-0/+1
| | | | | Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* torture: Add public testkey passphrase function.Andreas Schneider2014-08-151-0/+5
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
* torture: Add public testkey functions.Andreas Schneider2014-08-151-0/+213
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
* tests: Make write file a public torture function.Andreas Schneider2014-08-151-2/+20
| | | | | Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Aris Adamantiadis <aris@0xbadc0de.be>
* src: Update my mail address.Andreas Schneider2014-01-071-1/+1
|
* cmake: Check for unistd.h.Andreas Schneider2013-07-231-1/+4
|
* torture: Fix a resource leak on error.Andreas Schneider2013-06-131-0/+1
|
* torture: Fix keyboard interactive authentication.Andreas Schneider2012-10-091-2/+1
|
* torture: Use new userauth functions.Andreas Schneider2012-10-071-3/+10
|
* unittests:make sftp_dir pass on my laptopAris Adamantiadis2011-09-021-0/+2
|
* tests: Check error of ssh_userauth_kbdint().Andreas Schneider2011-05-281-0/+3
|
* tests: Remove superfluous closedir().Andreas Schneider2011-05-281-1/+0
|
* Fix compilation without server and sftp modesAris Adamantiadis2011-05-261-1/+6
|
* tests: Fixed some cppcheck warnings.Oliver Stöneberg2011-05-171-0/+2
|
* torture: Fixed torture on Windows.Andreas Schneider2011-02-131-8/+12
|
* torture: Fixed memory leak.Andreas Schneider2011-02-081-1/+2
|
* torture: Added more test for correct auth.Andreas Schneider2011-02-071-0/+10
|
* torture: Fixed the kbdint auth.Andreas Schneider2011-02-071-3/+11
|
* torture: Rename the static auth kbdint function.Andreas Schneider2011-02-071-7/+7
|
* tests: Added test for sftp directory functions.Andreas Schneider2011-02-061-0/+5
|
* torture: Added a function to setup a sftp session.Andreas Schneider2011-02-061-0/+60
|
* torture: Added torture_isdir().Andreas Schneider2011-02-061-0/+10
|
* torture: Added torture_rmdirs().Andreas Schneider2011-02-061-0/+73
|
* torture: Added GPL header.Andreas Schneider2011-02-061-1/+25
|
* tests: Added a torture_ssh_session().Andreas Schneider2011-02-061-0/+85
|
* Replaced argp support for platforms that support itAris Adamantiadis2011-01-131-3/+6
| | | | Argp is really useful, but it's not mandatory.
* Revert "tests: Call ssh_init() and ssh_finalize() before we run the tests."Aris Adamantiadis2011-01-021-12/+3
| | | | | | | Reason: breaks test_rand, because threading has to be initialized before ssh_init() This reverts commit ef1866db76ed10d64bf8cf97111554b2b2eb1278.
* tests: Call ssh_init() and ssh_finalize() before we run the tests.Andreas Schneider2011-01-021-3/+12
|
* build: Fixed some build warnings.Andreas Schneider2010-12-301-0/+3
|
* tests: Migrate the torture library to cmockery.Andreas Schneider2010-12-281-42/+2
|
* Added verbosity flag for unit testsAris Adamantiadis2010-05-181-1/+6
|
* Factorize all the main functions in unit testsAris Adamantiadis2010-05-181-0/+22
|
* Added unit testing support using check.Andreas Schneider2010-03-021-0/+26