diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-09-14 22:40:08 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-11-06 13:17:21 +0100 |
commit | 08b0a8632d54a24d92075b94d0b0134b69146ba2 (patch) | |
tree | c7f85adceb9529545fbfb004a6bbd6559c71dd37 /lib/BUILD | |
parent | 3ec3ca0f097cb27b190a17f4fde6880c871951e0 (diff) | |
download | jgit-08b0a8632d54a24d92075b94d0b0134b69146ba2.tar.gz jgit-08b0a8632d54a24d92075b94d0b0134b69146ba2.zip |
Ssh tests with an Apache MINA sshd test git server
Add a simple ssh git server based on Apache MINA sshd, and use it
in new tests that verify ssh operations and in particular a number
of bugs that had cropped up over time in JSch.
The git server supports fetching only, and sftp access.
The tests are all in an abstract base class; the concrete JschSshTest
class only provides ssh-specific test setup. So the same tests could
be run easily also with some other ssh client.
Bug: 520927
Change-Id: Ide6687b717fb497a29fc83f22b07390a26dfce1d
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'lib/BUILD')
-rw-r--r-- | lib/BUILD | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -59,6 +59,24 @@ java_library( ) java_library( + name = "sshd-core", + visibility = [ + "//org.eclipse.jgit.junit:__pkg__", + "//org.eclipse.jgit.test:__pkg__", + ], + exports = ["@sshd-core//jar"], +) + +java_library( + name = "sshd-sftp", + visibility = [ + "//org.eclipse.jgit.junit:__pkg__", + "//org.eclipse.jgit.test:__pkg__", + ], + exports = ["@sshd-sftp//jar"], +) + +java_library( name = "javaewah", visibility = ["//visibility:public"], exports = ["@javaewah//jar"], |