23e0053a41
BUG 103: Disable proxy command if set to 'none'.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org >
2013-07-26 08:42:26 +02:00
09b0018b93
Introduced ssh_timeout_elapsed functions
...
Functions to mesure elapsed time before and after a serie of
calls. Introduces a dependancy to clock_gettime() and librt,
hope this doesn't break anything. Porting to gettimeofday() should
not be too hard.
(cherry picked from commit 59f7647cd9
)
2011-05-25 21:59:51 +02:00
4f65104ecc
misc: Fixed ssh_is_ipaddr_v4() on Windows.
...
(cherry picked from commit eea1df3574
)
2011-02-13 17:39:18 +01:00
935e3b70ae
misc: Added working ssh_is_ipaddr for Windows.
...
(cherry picked from commit cd30a1d4b1
)
2011-02-13 12:30:52 +01:00
8d1bfb5a85
tests: Fixed misc and isipaddr test on Windows.
...
(cherry picked from commit ca941d6985
)
2011-02-13 12:30:46 +01:00
840e1abcdc
tests: Added ipv6 tests.
...
(cherry picked from commit 5d4bd5a21d
)
2011-02-12 19:22:02 +01:00
e3594ba0ec
tests: Fixed torture_isipaddr.
...
(cherry picked from commit e8c3f55751
)
2011-02-12 19:22:02 +01:00
5158877b72
Connect: Test the new isipaddr() function
...
(cherry picked from commit 7acc2fa607
)
2011-02-12 19:21:42 +01:00
63c42f066f
tests: Fixed checking return values of system().
2011-02-05 15:23:19 +01:00
a17472ff2b
Fix unit tests for opensolaris
2011-01-11 17:55:12 +01:00
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
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
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
3f538b3ddd
Call ssh_init()/ssh_finalize bf/af each testcase
2011-01-02 17:25:51 +01:00
e795dae8f2
tests: Added a windows test for torture_path_expand_tilde.
2011-01-01 20:53:55 +01:00
459fa3734f
tests: Fixed includes for torture_list on Windows.
2011-01-01 20:53:54 +01:00
52d6b7b914
tests: Fixed includes of torture_options for windows.
2011-01-01 20:53:54 +01:00
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
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
1f47730a82
tests: Fixed Windows build of torture_options.
2011-01-01 19:14:49 +01:00
08906e0f7f
tests: It is enough to include libssh.h for torture_init.
2010-12-29 21:02:51 +01:00
13f3679b2f
tests: Fixed torture_get_user_home_dir on Windows.
2010-12-29 20:35:55 +01:00
f3a6c3152c
cmake: Don't build torture_rand on Windows.
2010-12-29 20:33:32 +01:00
b0446ad55d
tests: Migrated torture_rand to cmockery.
2010-12-28 22:14:47 +01:00
d04ce30b03
tests: Migrated torture_options to cmockery.
2010-12-28 22:14:47 +01:00
512b776245
tests: Migrated torture_misc to cmockery.
2010-12-28 22:14:47 +01:00
d44919dfd4
tests: Migrated torture_list to cmockery.
2010-12-28 22:14:47 +01:00
99d45c686c
tests: Moved torture_knownhosts to client tests.
2010-12-28 22:14:47 +01:00
2bc03d22a1
tests: Migrated torture_keyfiles to cmockery.
2010-12-28 22:14:47 +01:00
fa17f33d2b
tests: Migrated torture_init to cmockery.
2010-12-28 22:14:47 +01:00
400fc350a7
tests: Migrated torture_callbacks to cmockery.
2010-12-28 22:14:47 +01:00
6f65e6ae67
tests: Migrate torture_buffer to cmockery.
2010-12-28 22:14:47 +01:00
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
942b993f57
Add log verbosity to some testcases
2010-12-21 16:21:49 +01:00
80408d5357
Fixed memory leak reported by valgrind
2010-12-19 12:37:21 +01:00
9a89fba332
resolve memory consumption bug
2010-10-03 13:31:02 +02:00
0bc032726d
Fix prepend bug
2010-10-03 13:01:21 +02:00
b2f571e544
test the buffer_prepend_data function
2010-10-03 12:25:33 +02:00
5687d6e79a
Added buffer test case
2010-10-03 12:06:47 +02:00
5b1c985a0e
Changed the threads cbks from struct to publ func
2010-09-30 11:10:08 +02:00
49f57a8d0d
Implemented the noop and native pointers
2010-09-06 16:52:14 +02:00
2cca490076
Moved pthread specific code in src/threads/pthread.c
...
pthread example doesn't compile du to the lack of
libssh_threads_native.so library
2010-09-06 14:51:01 +02:00
285388409f
Made pthread threading a user macro
2010-09-03 12:03:04 +02:00
e67d834156
Fix initialization of threading
2010-09-01 16:05:06 +02:00
8c55294ea9
Openssl implementation of threading + default imp
2010-09-01 14:07:45 +02:00
50d8d75d89
some more work on threading but not complete yet
2010-08-31 16:49:55 +02:00
717eff71dd
Added test for the openssl threading
2010-08-30 14:08:07 +02:00
94b00cc762
Add ssh_callbacks_exists internal macro + unittest
...
(first commit with eclipse helios, crossing fingers ...)
2010-06-25 16:19:19 +02:00
65008e2d3c
Fixes leak reports in valgrind
2010-06-21 15:47:34 +02:00
937268eb3e
torture: Fixed fd check.
2010-06-17 13:38:13 +02:00