mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修正SshjSftp
在SftpSubsystem服务时报错问题(pr#1338@Gitee)
This commit is contained in:
@@ -175,6 +175,7 @@ public class FtpTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void renameTest() {
|
||||
final Ftp ftp = new Ftp("localhost", 21, "test", "test");
|
||||
|
||||
|
@@ -17,6 +17,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
* @author youyongkun
|
||||
* @since 5.7.18
|
||||
*/
|
||||
@Disabled
|
||||
class SshjSftpTest {
|
||||
|
||||
private static SshjSftp sshjSftp;
|
||||
@@ -68,6 +69,7 @@ class SshjSftpTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void pwdTest() {
|
||||
// mkDirsTest();
|
||||
sshjSftp.cd("/ftp");
|
||||
@@ -77,6 +79,7 @@ class SshjSftpTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
public void renameTest() {
|
||||
// sshjSftp.mkdir("/ftp-1");
|
||||
assertTrue(sshjSftp.exist("/ftp-1"));
|
||||
|
Reference in New Issue
Block a user