1
1
libssh/tests
Jakub Jelen 9f5f10552b config: Do not overwrite previously matched result in Host blocks
The match_hostname() expects comma separated list, while the Host
config keyword in openssh uses spaces separated list by default.
Therefore any subseqent match or negated match in space separated
list will overwrite the previous matches.

This also adjusts the tests to make sure both of the versions work.

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-05 11:43:05 +02:00
..
benchmarks tests: Fix warning about expected format for printf 2016-01-19 11:31:07 +01:00
client tests: Add a test for sftp_canonicalize_path() 2018-09-04 18:13:37 +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 torture_auth: Add tests for client side certificate authentication 2016-03-15 08:38:13 +01:00
pkd pki: Support RSA SHA2 signatures of sessionid for server 2018-08-31 14:18:34 +02:00
sftp_stress tests: Call ssh_session_is_known_server() 2018-06-27 09:45:35 +02:00
unittests config: Do not overwrite previously matched result in Host blocks 2018-09-05 11:43:05 +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 threads: Automatically call ssh_init on load 2018-08-03 16:43:03 +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 Rest in Peace SSHv1 2018-06-29 14:41:14 +02:00
generate.py A few test cases for benchmarks 2009-11-05 18:18:35 +01: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 pki: Fix random memory corruption 2018-06-29 09:30:59 +02:00
torture_key.h tests: Move torture keys to own file 2018-01-10 22:31:02 +01: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: Fix a typo in torture.c 2018-08-07 15:41:45 +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