diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-02-14 13:05:17 +0100 |
---|---|---|
committer | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-02-14 13:32:37 +0100 |
commit | 891103609d2259e89191b72cebd503eb900e6c7e (patch) | |
tree | d7293445f265fba963111e483e2f540ad7a35e44 /org.eclipse.jgit.test/tests.bzl | |
parent | 3d6455331d00fbc1fff8cfeec2e9429d998a9567 (diff) | |
download | jgit-891103609d2259e89191b72cebd503eb900e6c7e.tar.gz jgit-891103609d2259e89191b72cebd503eb900e6c7e.zip |
Jsch overrides the port in the URI with the one in ~/.ssh/config
Jsch unconditionally overwrites the port from the ssh config
file (if a port is specified there), even if the URI explicitly does
give a different port.
Fix this, and add tests.
Change-Id: I7b014543c7ece26270e366db39d7647f82d64f0d
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.test/tests.bzl')
-rw-r--r-- | org.eclipse.jgit.test/tests.bzl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tests.bzl b/org.eclipse.jgit.test/tests.bzl index 3c42306db2..637fe0c9c3 100644 --- a/org.eclipse.jgit.test/tests.bzl +++ b/org.eclipse.jgit.test/tests.bzl @@ -33,6 +33,10 @@ def tests(tests): additional_deps = [ '//lib:jsch', ] + if src.endswith("JschConfigSessionFactoryTest.java"): + additional_deps = [ + '//lib:jsch', + ] junit_tests( name = name, |