mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
torture: Increase wait time for the sshd process to exit
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -219,7 +219,7 @@ int torture_terminate_process(const char *pidfile)
|
|||||||
/* Make sure the daemon goes away! */
|
/* Make sure the daemon goes away! */
|
||||||
kill(pid, SIGTERM);
|
kill(pid, SIGTERM);
|
||||||
|
|
||||||
usleep(200);
|
usleep(5000);
|
||||||
|
|
||||||
rc = kill(pid, 0);
|
rc = kill(pid, 0);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
@@ -230,7 +230,7 @@ int torture_terminate_process(const char *pidfile)
|
|||||||
|
|
||||||
if (is_running) {
|
if (is_running) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"WARNING: The process server is still running!\n");
|
"WARNING: The process with pid %u is still running!\n", pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user