aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/torture.c')
-rw-r--r--tests/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c
index f9c9c036..3102d888 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -869,6 +869,9 @@ void torture_setup_sshd_server(void **state)
rc = system(sshd_start_cmd);
assert_return_code(rc, errno);
+ /* Give the process some time to start */
+ usleep(300);
+
setenv("SOCKET_WRAPPER_DEFAULT_IFACE", "21", 1);
unsetenv("UID_WRAPPER_ROOT");
unsetenv("PAM_WRAPPER");