From 3035f8d52efe33749a8c027e193559ee7dd4c357 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Mon, 13 Mar 2023 22:03:58 +0200 Subject: Git clone / fetch --- tests/server_shell.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/server_shell.rs') diff --git a/tests/server_shell.rs b/tests/server_shell.rs index 8cf9bda..5028ac9 100644 --- a/tests/server_shell.rs +++ b/tests/server_shell.rs @@ -150,7 +150,6 @@ fn shows_a_prompt() -> Result<()> { } #[test] -#[ignore] // requires non-interactive commands fn git_clone_works_with_an_empty_repo() -> Result<()> { let c = spawn_ssh_server()?; let repo_name = "my-new-repo"; @@ -159,9 +158,10 @@ fn git_clone_works_with_an_empty_repo() -> Result<()> { Command::new("git") .args([ "clone", - "-v", - "--progress", - &format!("ssh://shukkie@localhost:{}/{}.git", c.ssh_port, repo_name), + &format!( + "ssh://shukkie@localhost:{}/home/shukkie/git/{}.git", + c.ssh_port, repo_name + ), ]) .current_dir(&c.workdir) .timeout(std::time::Duration::from_secs(3)) -- cgit v1.2.3