diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-02-04 17:29:35 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-03-21 20:40:04 +0100 |
commit | a4aeee972cc1a21a638b5eea08fb574220270f81 (patch) | |
tree | 927a8863d4b3b24d1d35fd1ed35f492b3859623f /tests | |
parent | 16217454d576511f37f39c3169963629f9d5082f (diff) | |
download | libssh-a4aeee972cc1a21a638b5eea08fb574220270f81.tar.gz libssh-a4aeee972cc1a21a638b5eea08fb574220270f81.tar.xz libssh-a4aeee972cc1a21a638b5eea08fb574220270f81.zip |
torture: Increase wait time for the sshd process to exit
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/torture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/torture.c b/tests/torture.c index 48a70d65..fa9e5c02 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -219,7 +219,7 @@ int torture_terminate_process(const char *pidfile) /* Make sure the daemon goes away! */ kill(pid, SIGTERM); - usleep(200); + usleep(5000); rc = kill(pid, 0); if (rc != 0) { @@ -230,7 +230,7 @@ int torture_terminate_process(const char *pidfile) if (is_running) { fprintf(stderr, - "WARNING: The process server is still running!\n"); + "WARNING: The process with pid %u is still running!\n", pid); } return 0; |