mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 20:30:38 +09:00
torture: Also write stderr to a file
This allows to capture debug information of the wrappers. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -970,8 +970,8 @@ void torture_setup_sshd_server(void **state)
|
||||
s = *state;
|
||||
|
||||
snprintf(sshd_start_cmd, sizeof(sshd_start_cmd),
|
||||
"/usr/sbin/sshd -r -f %s -E %s/sshd/sshd.log",
|
||||
s->srv_config, s->socket_dir);
|
||||
"/usr/sbin/sshd -r -f %s -E %s/sshd/daemon.log 2> %s/sshd/cwrap.log",
|
||||
s->srv_config, s->socket_dir, s->socket_dir);
|
||||
|
||||
rc = system(sshd_start_cmd);
|
||||
assert_return_code(rc, errno);
|
||||
|
||||
Reference in New Issue
Block a user