first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
@@ -0,0 +1,27 @@
use warpui::r#async::BoxFuture;
use super::*;
fn static_auth_context() -> Arc<RemoteServerAuthContext> {
Arc::new(RemoteServerAuthContext::new(
|| -> BoxFuture<'static, Option<String>> { Box::pin(async { None }) },
|| "user id/with spaces".to_string(),
String::new(),
String::new(),
true,
))
}
#[test]
fn remote_proxy_command_quotes_identity_key() {
let transport = SshTransport::new(
PathBuf::from("/tmp/control-master.sock"),
static_auth_context(),
true,
);
let command = transport.remote_proxy_command();
assert!(command.contains("remote-server-proxy --identity-key"));
assert!(command.contains("'user id/with spaces'"));
}