Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-71

Skip tests if native library is not available

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • None

    Description

      When building the sshd project straight away, we get some errors :

      Tests in error:
      testAgent(org.apache.sshd.AgentTest)

      -------------------------------------------------------------------------------
      Test set: org.apache.sshd.AgentTest
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009
      sec <<< FAILURE!
      testAgent(org.apache.sshd.AgentTest) Time elapsed: 0.006 sec <<< ERROR!
      java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path, no
      libtcnative-1 in ...

      We should add a profile in Maven to avoid such an error. Of course, some doco on how to build SSHd with this native lib should be added on the web site too

      Attachments

        1. SSHD-71.patch
          2 kB
          Stephen Connolly

        Activity

          People

            gnodet Guillaume Nodet
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: