1
1
Граф коммитов

140 Коммитов

Автор SHA1 Сообщение Дата
Aris Adamantiadis
551b87b65b New testcases for nonblocking ssh_connect and double ssh_connect 2011-01-13 18:09:04 +01:00
Aris Adamantiadis
a17472ff2b Fix unit tests for opensolaris 2011-01-11 17:55:12 +01:00
Andreas Schneider
61852635b5 tests: Moved assert to the write place in torture_keyfiles.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 11:44:02 +01:00
Andreas Schneider
184f1e1706 tests: Assert if ssh_get_random failed in torture_rand_thread.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
7d9f889911 tests: Added missing asserts in torture_keyfiles.
Found by clang-analyzer http://test.libssh.org/clang-analyzer/
2011-01-06 10:15:01 +01:00
Andreas Schneider
ec12da273e tests: Fixed the segfault in torture_knownhosts. 2011-01-04 23:10:01 +01:00
Andreas Schneider
2464a25de7 tests: Fixed a build warning introduced before. 2011-01-03 09:02:34 +01:00
Andreas Schneider
e12253168c tests: Call init and finalize in client torture tests. 2011-01-03 08:46:14 +01:00
Andreas Schneider
1540dad17f tests: Added more openssl valgrind suppressions. 2011-01-03 07:51:46 +01:00
Aris Adamantiadis
3f538b3ddd Call ssh_init()/ssh_finalize bf/af each testcase 2011-01-02 17:25:51 +01:00
Aris Adamantiadis
2faaefade9 Revert "tests: Call ssh_init() and ssh_finalize() before we run the tests."
Reason: breaks test_rand, because threading has to be initialized
before ssh_init()

This reverts commit ef1866db76.
2011-01-02 17:15:03 +01:00
Andreas Schneider
ef1866db76 tests: Call ssh_init() and ssh_finalize() before we run the tests. 2011-01-02 09:19:53 +01:00
Andreas Schneider
d4072082d0 tests: More openssl valgrind suppressions. 2011-01-02 09:10:42 +01:00
Andreas Schneider
a7237e8cea tests: Updated the valgrind suppressions file. 2011-01-01 22:13:03 +01:00
Andreas Schneider
98bacf032f tests: Added torture_auth_autopubkey client test. 2011-01-01 20:53:55 +01:00
Andreas Schneider
e795dae8f2 tests: Added a windows test for torture_path_expand_tilde. 2011-01-01 20:53:55 +01:00
Andreas Schneider
459fa3734f tests: Fixed includes for torture_list on Windows. 2011-01-01 20:53:54 +01:00
Andreas Schneider
52d6b7b914 tests: Fixed includes of torture_options for windows. 2011-01-01 20:53:54 +01:00
Andreas Schneider
5331489581 tests: Fixed the torture_callbacks test.
We should zero the structure else ssh_callback_exists() can't be
working.
2011-01-01 19:14:54 +01:00
Andreas Schneider
2945a42c75 tests: Don't run torture_keyfiles on Windows.
This test needs ssh-keygen to be working.
2011-01-01 19:14:54 +01:00
Andreas Schneider
1f47730a82 tests: Fixed Windows build of torture_options. 2011-01-01 19:14:49 +01:00
Andreas Schneider
4728ac54fc build: Fixed some build warnings. 2010-12-30 12:12:34 +01:00
Andreas Schneider
da86340551 cmake: Improved the ctest file. 2010-12-30 12:12:06 +01:00
Andreas Schneider
fc8fdcb16b cmake: Only use Profiling on Unix systems. 2010-12-30 11:55:13 +01:00
Andreas Schneider
08906e0f7f tests: It is enough to include libssh.h for torture_init. 2010-12-29 21:02:51 +01:00
Andreas Schneider
13f3679b2f tests: Fixed torture_get_user_home_dir on Windows. 2010-12-29 20:35:55 +01:00
Andreas Schneider
f3a6c3152c cmake: Don't build torture_rand on Windows. 2010-12-29 20:33:32 +01:00
Andreas Schneider
78abf5a88d cmake: Added include and library deps to torture. 2010-12-29 20:17:36 +01:00
Andreas Schneider
ad231ccd30 cmake: Fixed test includes and libraries. 2010-12-29 20:11:00 +01:00
Andreas Schneider
d2bf90c982 build: Fixed include directories for torture lib. 2010-12-29 19:49:07 +01:00
Andreas Schneider
3e2f714248 tests: Fixed a assert bug in torture_auth. 2010-12-29 09:13:17 +01:00
Aris Adamantiadis
530c17e2ef First real benchmark : raw SSH speed 2010-12-29 00:19:05 +01:00
Aris Adamantiadis
31043334f4 Export and document timestamp functions 2010-12-29 00:19:05 +01:00
Andreas Schneider
361e37dc66 tests: Added a torture_sftp_static test. 2010-12-28 22:14:47 +01:00
Andreas Schneider
df55918a41 tests: Migrated torture_proxycommand to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
e6329c72d1 tests: Migrated torture_knownhosts to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
8bd29736d2 tests: Migrated torture_auth to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
0b2cf70622 tests: Migrated torture_algorithms to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
b0446ad55d tests: Migrated torture_rand to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
d04ce30b03 tests: Migrated torture_options to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
512b776245 tests: Migrated torture_misc to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
d44919dfd4 tests: Migrated torture_list to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
99d45c686c tests: Moved torture_knownhosts to client tests. 2010-12-28 22:14:47 +01:00
Andreas Schneider
2bc03d22a1 tests: Migrated torture_keyfiles to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
fa17f33d2b tests: Migrated torture_init to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
400fc350a7 tests: Migrated torture_callbacks to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
6f65e6ae67 tests: Migrate torture_buffer to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
635a263f64 tests: Migrate the torture library to cmockery. 2010-12-28 22:14:47 +01:00
Andreas Schneider
17f592d4dd tests: Start to migrate tests to cmockery.
https://code.google.com/p/cmockery/wiki/Cmockery_Unit_Testing_Framework
2010-12-28 22:14:47 +01:00
Aris Adamantiadis
4fe1656cf8 Moved benchmarks to the tests/ directory 2010-12-28 13:17:27 +01:00