1
1
libssh/tests
Jakub Jelen c15ad753a7 tests: Wait for the server to start
The previous timeout of 500 ms was not enough on slower machines or
while running the tests under valgrind. On much faster machines the
sleep() was bringing unnecessary overhead.

This method opens simple connection to the server verifying it is ready
to accept the connection from the test for 5 seconds. It the server
does not start until then, it fails the tests during initialization,
rather than leaving the cases to run against missing server.

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-18 18:07:27 +02:00
..
benchmarks tests: Fix warning about expected format for printf 2016-01-19 11:31:07 +01:00
client tests: Verify the pubkey authentication works with ECDSA keys 2018-09-17 16:39:38 +02:00
etc tests: Fix running ssh-agent 2016-02-03 09:01:29 +01:00
fuzz threads: Automatically call ssh_init on load 2018-08-03 16:43:03 +02:00
keys tests: Verify the pubkey authentication works with ECDSA keys 2018-09-17 16:39:38 +02:00
pkd Revert "pkd: Generate host keys in old format" 2018-09-18 09:53:49 +02:00
sftp_stress tests: Call ssh_session_is_known_server() 2018-06-27 09:45:35 +02:00
unittests tests: Add null checks in torture_threads_pki_rsa.c 2018-09-18 10:19:59 +02:00
authentication.c Add a exec test. 2009-05-04 22:30:21 +00:00
chmodtest.c Added some other junk test file 2010-05-17 20:08:11 +02:00
chroot_wrapper.c tests: Temporarily build chroot_wrapper 2017-12-15 12:00:49 +01:00
CMakeLists.txt tests: Wait for the server to start 2018-09-18 18:07:27 +02:00
cmdline.c tests: allow conditionnal execution on pattern 2015-02-02 17:34:15 +01:00
connection.c preliminary test suite 2008-03-17 02:31:22 +00:00
ctest-default.cmake tests: Do not trace sshd 2018-09-05 15:43:00 +02:00
generate.py A few test cases for benchmarks 2009-11-05 18:18:35 +01:00
ssh_ping.c tests: Wait for the server to start 2018-09-18 18:07:27 +02:00
test_exec.c tests: Call ssh_session_is_known_server() 2018-06-27 09:45:35 +02:00
test_pcap.c Sanitize libssh namespace + legacy wrappers 2010-05-14 00:51:08 +02:00
test_socket.c struct socket -> struct ssh_socket_struct +typedef 2009-12-06 22:48:56 +01:00
test_ssh_bind_accept_fd.c add mbedtls crypto support 2017-12-28 11:17:39 +01:00
test_tunnel.c tests: Call ssh_session_is_known_server() 2018-06-27 09:45:35 +02:00
tests.h preliminary test suite 2008-03-17 02:31:22 +00:00
torture_cmocka.c tests: Define LIBSSH_STATIC for torture_cmocka 2018-09-05 11:43:05 +02:00
torture_cmocka.h torture: Add assert macros for ssh return codes 2018-06-30 14:37:04 +02:00
torture_key.c tests: Provide testing keys also in OpenSSH format 2018-09-18 09:53:49 +02:00
torture_key.h tests: Provide testing keys also in OpenSSH format 2018-09-18 09:53:49 +02:00
torture_pki.c tests: Move helper functions to a common file 2018-01-10 22:24:11 +01:00
torture_pki.h tests: Move helper functions to a common file 2018-01-10 22:24:11 +01:00
torture.c tests: Wait for the server to start 2018-09-18 18:07:27 +02:00
torture.h torture: Add assert macros for ssh return codes 2018-06-30 14:37:04 +02:00
valgrind.supp valgrind: Add suppression for glibc dlopen issue 2016-01-19 11:03:52 +01:00