fixup build on windows, and update tests
This commit is contained in:
1 parent
12225a099a
commit
99131a2a98
3 files changed
+5
No files matched your search
@@ -87,6 +87,7 @@ impl<T: FromRawSocket> FromRawSocketDescriptor for T {
|
||||
}
|
||||
|
||||
unsafe impl Send for OwnedHandle {}
|
||||
unsafe impl Sync for OwnedHandle {}
|
||||
|
||||
impl OwnedHandle {
|
||||
fn probe_handle_type_if_unknown(handle: RawHandle, handle_type: HandleType) -> HandleType {
|
||||
|
||||
@@ -491,6 +491,7 @@ Config {
|
||||
r#"
|
||||
{
|
||||
"hostname": "random",
|
||||
"identityfile": "/home/me/.ssh/id_dsa /home/me/.ssh/id_ecdsa /home/me/.ssh/id_ed25519 /home/me/.ssh/id_rsa",
|
||||
"port": "22",
|
||||
"something": "first",
|
||||
"user": "me",
|
||||
@@ -521,6 +522,7 @@ Config {
|
||||
r#"
|
||||
{
|
||||
"hostname": "a.b",
|
||||
"identityfile": "/home/me/.ssh/id_dsa /home/me/.ssh/id_ecdsa /home/me/.ssh/id_ed25519 /home/me/.ssh/id_rsa",
|
||||
"port": "22",
|
||||
"something": "first",
|
||||
"user": "me",
|
||||
@@ -537,6 +539,7 @@ Config {
|
||||
"forwardagent": "no",
|
||||
"hostname": "b.b",
|
||||
"identityagent": "/home/me/.ssh/agent",
|
||||
"identityfile": "/home/me/.ssh/id_dsa /home/me/.ssh/id_ecdsa /home/me/.ssh/id_ed25519 /home/me/.ssh/id_rsa",
|
||||
"port": "22",
|
||||
"something": "first",
|
||||
"user": "me",
|
||||
|
||||
@@ -75,6 +75,7 @@ impl portable_pty::MasterPty for SshPty {
|
||||
.map(|f| -> Box<(dyn Write + Send + 'static)> { Box::new(f) })
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
fn process_group_leader(&self) -> Option<i32> {
|
||||
// It's not local, so there's no meaningful leader
|
||||
None
|
||||
|
||||
Reference in new issue
Block a user