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:
committed by
Andreas Schneider
parent
79f0c38fbd
commit
e7ef40c8f0
@ -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;
|
||||
|
Reference in New Issue
Block a user