mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
tests: Allow to modify sshd config from the test
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
7e41d08f26
commit
8012afd5e4
@@ -71,6 +71,8 @@ struct torture_state {
|
||||
char *pcap_file;
|
||||
char *srv_pidfile;
|
||||
char *srv_config;
|
||||
bool srv_pam;
|
||||
char *srv_additional_config;
|
||||
struct {
|
||||
ssh_session session;
|
||||
struct torture_sftp *tsftp;
|
||||
@@ -124,6 +126,8 @@ void torture_setup_sshd_server(void **state, bool pam);
|
||||
void torture_teardown_socket_dir(void **state);
|
||||
void torture_teardown_sshd_server(void **state);
|
||||
|
||||
int torture_update_sshd_config(void **state, const char *config);
|
||||
|
||||
void torture_reset_config(ssh_session session);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user