         XCTAssertEqual(error.code, SSHKitSFTPErrorCode.NoSuchFile.rawValue)
     }
     
-    func testUnlik() {
-        // TODO create file
-        let path = "./remove.txt"
-        var error = channel!.unlink(path)
-        if let error=error {
-            XCTFail(error.description)
-        }
-        
-        error = channel!.unlink(path)
-        XCTAssertEqual(error.code, SSHKitSFTPErrorCode.NoSuchFile.rawValue)  // folder existed
-    }
-
 
 }


class SFTPChannelTests: SFTPTests {
    // TODO add a script to reset sftp test env(file.txt,rename.txt,remove.txt,ls/1,ls/2)

    func testOpenDirectorySucc() {
        do {

    }
    
    func testChmod() {
        let path = filePathForTest
        let error = channel!.chmod(path, mode: 0o700)
        
        if let error=error {
            XCTFail(error.description)
        }
        
