tests: Introduce torture_client_global_requests

Added a test case where invalid global requests are sent to the server
which should reject them, but not stop working.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit abf5712160)
This commit is contained in:
Anderson Toshiyuki Sasaki
2019-06-25 13:27:41 +02:00
committed by Andreas Schneider
parent d71a7976dd
commit e3fca31c59
2 changed files with 154 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ set(LIBSSH_CLIENT_TESTS
torture_knownhosts_verify
torture_proxycommand
torture_session
torture_request_env)
torture_request_env
torture_client_global_requests)
if (DEFAULT_C_NO_DEPRECATION_FLAGS)
set_source_files_properties(torture_knownhosts.c