Andreas Schneider
bcfab67daf
ctest: Set the memcheck suppression file correctly.
2010-12-19 16:30:23 +01:00
Andreas Schneider
27f170011e
ctest: Set suppression file only in CTestConfig.
2010-12-19 12:54:52 +01:00
Andreas Schneider
5cb4c9451f
ctest: Make sure we have a clean source tree for each build.
2010-12-19 12:54:52 +01:00
Aris Adamantiadis
80408d5357
Fixed memory leak reported by valgrind
2010-12-19 12:37:21 +01:00
Andreas Schneider
f5d0f232c8
ctest: Fixed git URL.
2010-12-18 12:15:14 +01:00
Andreas Schneider
d6a5e5cb68
test: Fixed the default ctest file.
2010-12-15 19:15:02 +01:00
Aris Adamantiadis
da9cd2e64d
Implemented zlib@openssh.com compression
2010-10-04 16:19:20 +02:00
Aris Adamantiadis
9a89fba332
resolve memory consumption bug
2010-10-03 13:31:02 +02:00
Aris Adamantiadis
0bc032726d
Fix prepend bug
2010-10-03 13:01:21 +02:00
Aris Adamantiadis
b2f571e544
test the buffer_prepend_data function
2010-10-03 12:25:33 +02:00
Aris Adamantiadis
5687d6e79a
Added buffer test case
2010-10-03 12:06:47 +02:00
milo
d7581c4daa
Change path to ../src instead of the old ../libssh
2010-10-02 22:52:24 +02:00
Aris Adamantiadis
5b1c985a0e
Changed the threads cbks from struct to publ func
2010-09-30 11:10:08 +02:00
Andreas Schneider
72b62d3064
build: Fixed the unit test build.
2010-09-29 11:26:16 +02:00
Andreas Schneider
697d51cd93
build: Make sure to link against all required thread libraries.
2010-09-08 16:32:54 +02:00
Andreas Schneider
03087e020c
build: Improve the check for argp.
2010-09-08 11:41:14 +02:00
Aris Adamantiadis
49f57a8d0d
Implemented the noop and native pointers
2010-09-06 16:52:14 +02:00
Andreas Schneider
fbe102bada
threads: Build a libssh threading library.
2010-09-06 15:17:03 +02:00
Aris Adamantiadis
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
Andreas Schneider
ed5ebe7458
tests: Fixed cmdline parsing.
2010-09-05 12:34:12 +02:00
Andreas Schneider
d71d6afa34
tests: Disable options parsing if argp isn't available.
2010-09-03 15:44:41 +02:00
Andreas Schneider
2f8f230f61
build: Added support to find argp on BSD.
2010-09-03 15:38:12 +02:00
Aris Adamantiadis
285388409f
Made pthread threading a user macro
2010-09-03 12:03:04 +02:00
Aris Adamantiadis
e67d834156
Fix initialization of threading
2010-09-01 16:05:06 +02:00
Aris Adamantiadis
8c55294ea9
Openssl implementation of threading + default imp
2010-09-01 14:07:45 +02:00
Aris Adamantiadis
50d8d75d89
some more work on threading but not complete yet
2010-08-31 16:49:55 +02:00
Aris Adamantiadis
717eff71dd
Added test for the openssl threading
2010-08-30 14:08:07 +02:00
Aris Adamantiadis
94b00cc762
Add ssh_callbacks_exists internal macro + unittest
...
(first commit with eclipse helios, crossing fingers ...)
2010-06-25 16:19:19 +02:00
Aris Adamantiadis
65008e2d3c
Fixes leak reports in valgrind
2010-06-21 15:47:34 +02:00
Andreas Schneider
937268eb3e
torture: Fixed fd check.
2010-06-17 13:38:13 +02:00
Andreas Schneider
11a1ae59f4
tests: Moved proxycommand test to client tests.
2010-06-03 16:55:45 +02:00
Andreas Schneider
216cabc563
tests: Move getpwuid_r to a setup function.
2010-06-03 16:44:47 +02:00
Andreas Schneider
5dd4f7604f
tests: Move client tests to a seperate directory.
...
Tests which require a running sshd should go to tests/client.
2010-06-03 12:36:00 +02:00
Andreas Schneider
94ce1ea451
tests: Fixed the misc torture test.
2010-06-03 12:29:32 +02:00
Andreas Schneider
560e938038
misc: Move size check down in ssh_path_expand_escape().
2010-05-31 09:17:54 +02:00
Aris Adamantiadis
517e58d3dc
Fixed keyboard-interactive and unit test
2010-05-19 14:07:40 +02:00
Aris Adamantiadis
0eaa650e32
Fix authentication test
2010-05-19 11:13:47 +02:00
Aris Adamantiadis
4fbe572c02
Added verbosity flag for unit tests
2010-05-18 23:02:41 +02:00
Aris Adamantiadis
7c0ce909ed
Added unit test for kbdint and password auth.
...
The kbdint test still doesn't pass
2010-05-18 22:49:22 +02:00
Aris Adamantiadis
f95157297e
Factorize all the main functions in unit tests
2010-05-18 22:25:06 +02:00
Aris Adamantiadis
89993dd757
Fixed unittest name
2010-05-18 22:11:41 +02:00
Aris Adamantiadis
0ec847bbe7
Added some other junk test file
2010-05-17 20:08:11 +02:00
Aris Adamantiadis
b23b3f1d99
Sanitize libssh namespace + legacy wrappers
2010-05-14 00:51:08 +02:00
Andreas Schneider
c7ee14e786
Added a torture test for ssh_path_expand_escape().
2010-05-11 02:10:55 +02:00
Andreas Schneider
c5c1698cde
Added a torture test for ssh_path_expand_tilde().
2010-05-11 02:10:55 +02:00
Aris Adamantiadis
9294c3284c
Changed test name + test with invalid proxycommand
2010-05-10 11:08:32 +02:00
Aris Adamantiadis
3a326793fd
Test case for proxycommand
2010-05-09 00:54:37 +02:00
Aris Adamantiadis
7886326aa8
Fix u_int_x_t -> uint_x_t
2010-05-08 22:23:05 +02:00
Aris Adamantiadis
31cc03f8e6
added test for ntohll
2010-05-08 22:22:06 +02:00
Aris Adamantiadis
cf7449c525
Added tests for ssh_dirname and ssh_basename
2010-05-08 22:13:35 +02:00
Aris Adamantiadis
b0cdbf5b22
Added test for zlib compression method
...
Unfortunately the test doesn't pass. (my host doesn't support zlib, only zlib@openssh.com )
2010-05-07 13:51:10 +02:00
Aris Adamantiadis
231e378157
Added torture_algorithms test case
...
tests for all supported cipher types
2010-05-07 13:39:38 +02:00
Aris Adamantiadis
431d8fe7c7
The actual init test
2010-05-07 13:39:08 +02:00
Aris Adamantiadis
9ee4d6c697
Added torture_ssh_init unit test
2010-05-07 13:16:42 +02:00
Aris Adamantiadis
3f14d7a54a
More detailed tests
2010-05-05 14:57:47 +02:00
Aris Adamantiadis
52acb3fcac
Make unit test spit libssh error messages
2010-05-05 14:26:30 +02:00
Aris Adamantiadis
6b320a00a0
knownhosts writing and unit test
2010-05-01 12:47:44 +02:00
Aris Adamantiadis
904c6ed853
Renamed private type TYPE_RSA to SSH_KEYTYPE_*
...
Also made this enum public
2010-04-28 12:14:03 +02:00
Aris Adamantiadis
696ef7aecc
Added privatekey_from_file with passphrase test
2010-04-27 23:48:18 +02:00
Aris Adamantiadis
9603f2520b
make torture_keyfiles silent
2010-04-27 23:28:18 +02:00
Aris Adamantiadis
a5a806f7ee
Added test for privatekey_from_file
2010-04-27 23:25:21 +02:00
Andreas Schneider
833903e8ec
torture: Fix compiling options test if NSS_BUFLEN_PASSWD isn't defined.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:30:07 +02:00
Andreas Schneider
b5eb08ad09
Fixed the torture_keyfiles test.
2010-03-28 23:46:56 +02:00
Andreas Schneider
40d0ca7963
Added options for memcheck and coverage.
...
Disable it by default as only one machine should do this.
2010-03-15 16:09:05 +01:00
Andreas Schneider
095f348172
Added a ctest script for nightly builds.
2010-03-13 21:17:59 +01:00
Andreas Schneider
67c062e45e
Added a valgrind suppression file to ignore check errors.
2010-03-13 17:10:53 +01:00
Andreas Schneider
4516e7bdcb
Fixed a memory leak in the torture_get_user_home_dir test.
2010-03-13 16:59:26 +01:00
Andreas Schneider
90d72c214e
Fixed the torture_pubkey_generate_from_privkey test.
2010-03-13 16:51:52 +01:00
Andreas Schneider
8fd6c8bc02
Fixed a memory leak in keyfile torture test.
2010-03-13 16:38:43 +01:00
Andreas Schneider
72058bfbcc
Added tests for ssh options.
2010-03-13 14:21:23 +01:00
Andreas Schneider
8501ca2ea0
Added some tests for ssh_list.
2010-03-06 12:55:56 +01:00
Andreas Schneider
1264557f0e
Added a test for keyfiles.c.
2010-03-04 20:41:21 +01:00
Andreas Schneider
9cd5e97596
Fixed linking of the tests.
2010-03-04 20:08:04 +01:00
Andreas Schneider
8bcb835aa4
Fixed unit testing.
2010-03-02 23:49:21 +01:00
Andreas Schneider
464176d511
Added unit testing support using check.
2010-03-02 13:54:14 +01:00
Aris Adamantiadis
a1e05c62ae
struct socket -> struct ssh_socket_struct +typedef
2009-12-06 22:48:56 +01:00
Aris Adamantiadis
4924ac8099
Asynchronous sockets work !
...
Still need a bit of tuning but it's stable enough
for our current needs
2009-12-01 23:34:55 +01:00
Aris Adamantiadis
96afa4530c
More logging
2009-11-30 23:56:21 +01:00
Aris Adamantiadis
92a50f731c
Socket connect callback working...
...
Still need to make sure the connect syscall is correctly
called
2009-11-30 23:44:40 +01:00
Aris Adamantiadis
76d6838223
Some brain surgery to add event-based sockets
...
chapter 1- SSH Socket Connections.
I would like to be able to
-Have a ssh_poll_ctx object
-Add a ssh socket over it
-launch the socket connection (using socket functions)
-ssh_poll_ctx_dopoll()
-Wait for the timeout or have the "connected" callback called
2009-11-30 22:35:43 +01:00
Aris Adamantiadis
10b625e180
First lines of experimental pcap output support
...
This will serve to debug packets right under wireshark !
2009-11-08 23:42:41 +01:00
Aris Adamantiadis
ab0d8a3828
A few test cases for benchmarks
2009-11-05 18:18:35 +01:00
Aris Adamantiadis
e73cbbe18c
Added a threading + sftp stress testcase
2009-07-24 22:52:10 +02:00
Andreas Schneider
dc07d46cca
Add a exec test.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@713 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-04 22:30:21 +00:00
Aris Adamantiadis
46b96a145c
preliminary test suite
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@153 7dcaeef0-15fb-0310-b436-a5af3365683c
2008-03-17 02:31:22 +00:00