1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

tests: Allow setting configuration file for test server

This allows testing the server with a configuration file.  This also
adds an option for the stand-alone test server to skip parsing the
system-wide configuration file.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Anderson Toshiyuki Sasaki
2019-05-16 14:16:46 +02:00
committed by Andreas Schneider
parent 79f0c38fbd
commit e7ef40c8f0
4 changed files with 68 additions and 0 deletions

View File

@ -50,6 +50,9 @@ struct server_state_st {
char *expected_username;
char *expected_password;
char *config_file;
bool parse_global_config;
/* State */
int max_tries;
int error;