summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tests.bzl
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2018-02-14 13:05:17 +0100
committerThomas Wolf <thomas.wolf@paranor.ch>2018-02-14 13:32:37 +0100
commit891103609d2259e89191b72cebd503eb900e6c7e (patch)
treed7293445f265fba963111e483e2f540ad7a35e44 /org.eclipse.jgit.test/tests.bzl
parent3d6455331d00fbc1fff8cfeec2e9429d998a9567 (diff)
downloadjgit-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.bzl4
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,