Subject: Re: [libssh2] #170: Test on Solaris 10 amd64 hangs

Re: [libssh2] #170: Test on Solaris 10 amd64 hangs

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Wed, 03 Nov 2010 14:24:42 -0000

#170: Test on Solaris 10 amd64 hangs
---------------------------------------------------------------------------------------+
  Reporter: www.google.com/accounts/o8/id?id=AItOawmzyrEUkUDbHXFBqjFbBoB5p8Ik5X9sR1A | Owner: stuge
      Type: defect | Status: assigned
  Priority: normal | Milestone:
 Component: tests | Version: 1.2.7
Resolution: | Keywords: select, timeout, hang
    Blocks: | Blocked By:
---------------------------------------------------------------------------------------+

Comment (by bagder):

 I was thinking of enabling the libssh2 debug trace, like if you have built
 libssh2 with debug enable and then you apply this patch before you run the
 test:

 diff --git a/tests/ssh2.c b/tests/ssh2.c
 index e09ba8a..df70eaa 100644
 --- a/tests/ssh2.c
 +++ b/tests/ssh2.c
 @@ -86,6 +86,8 @@ int main(int argc, char *argv[])
          return -1;
      }

 + libssh2_trace(session, ~0);
 +
      /* At this point we havn't authenticated,
       * The first thing to do is check the hostkey's fingerprint against
 our kno
       * Your app may have it hard coded, may go to a file, may present it
 to the

-- 
Ticket URL: <http://trac.libssh2.org/ticket/170#comment:8>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-03