diff --git a/Tests/SMBClientTests/SMBClientTests.swift b/Tests/SMBClientTests/SMBClientTests.swift index f748b57..b3d57a4 100644 --- a/Tests/SMBClientTests/SMBClientTests.swift +++ b/Tests/SMBClientTests/SMBClientTests.swift @@ -315,6 +315,39 @@ final class SMBClientTests: XCTestCase { try await client.logoff() } + func testListDirectory08() async throws { + let user = alice + + let client = SMBClient(host: "localhost", port: 4445) + try await client.login(username: user.username, password: user.password) + try await client.connectShare(user.share) + + let directoryName: String = #function + try await client.createDirectory(path: directoryName) + + var testFiles = [String]() + for i in 0...2000 { + let length = 1024 + var data = Data(count: length) + for i in 0..