Commit 8ea258e2 authored by Mihai Moldovan's avatar Mihai Moldovan
Browse files

src/test/sshtest.c: sleep for 30 seconds after connection has been...

src/test/sshtest.c: sleep for 30 seconds after connection has been established, then tear everything down.
parent 7e61eea5
......@@ -25,6 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <libintl.h>
......@@ -112,6 +113,9 @@ int main (const int argc, const char * const * const argv) {
conn_ret = x2goclient_network_ssh_connect (net_ssh, NULL);
g_printf ("Connection status: %s.\n", (conn_ret) ? "true" : "false");
/* Let ssh connection live for a few seconds, give or take. */
sleep (30);
g_clear_object (&net_ssh);
return (ret);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment