/// <summary> /// Create a fresh, clean, repro on the remote machine /// </summary> public void CreateRepro(string remote_path = null) { if (remote_path == null) { remote_path = RemotePath; } // Make sure no one is debing a dick by accident. Assert.AreNotEqual(".", remote_path); Assert.IsFalse(string.IsNullOrWhiteSpace(remote_path)); Assert.IsFalse(remote_path.Contains("*")); // Create the new repro Connection = new SSHConnectionTunnel(RemoteHostInfo); Connection.ExecuteLinuxCommand($"rm -rf {remote_path}") .ExecuteLinuxCommand($"mkdir -p {remote_path}"); }