#include "testrunnerlite.h"
Go to the source code of this file.
Functions | |
void | ssh_executor_init (const char *hostname) |
int | ssh_execute (const char *hostname, const char *command) |
int | ssh_kill (const char *hostname, pid_t id) |
int | ssh_check_conn (const char *hostname) |
void | ssh_clean (const char *hostname, pid_t id) |
void | ssh_executor_close (const char *hostname) |
int ssh_check_conn | ( | const char * | hostname | ) |
Tries to check if ssh connections are still working
hostname | SUT address |
Definition at line 179 of file remote_executor.c.
void ssh_clean | ( | const char * | hostname, | |
pid_t | id | |||
) |
Clean temporary file from target machine
hostname | SUT address | |
id | PID of the test step |
Definition at line 223 of file remote_executor.c.
int ssh_execute | ( | const char * | hostname, | |
const char * | command | |||
) |
Executes a command using ssh
hostname | SUT address | |
command | Command to execute |
Definition at line 133 of file remote_executor.c.
void ssh_executor_close | ( | const char * | hostname | ) |
void ssh_executor_init | ( | const char * | hostname | ) |
Init the ssh executor
Definition at line 97 of file remote_executor.c.
int ssh_kill | ( | const char * | hostname, | |
pid_t | id | |||
) |
Tries to kill program started by ssh and removes temporary file
hostname | SUT address | |
id | PID of the test step |
Definition at line 193 of file remote_executor.c.