summaryrefslogtreecommitdiff
path: root/tests/server_shell.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-03-20 23:18:41 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-03-20 23:18:41 +0200
commit2b827a0ab06fb715290a0450a3fff56d3e6f4ee6 (patch)
treeb5e24df3fa573afd07b55a2330e88cabe2394e3f /tests/server_shell.rs
parentae4b23d95dc8792231c1e8212978be8305ee1964 (diff)
Put git repos into a user-specific dir
Diffstat (limited to 'tests/server_shell.rs')
-rw-r--r--tests/server_shell.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/server_shell.rs b/tests/server_shell.rs
index c87fb53..72329d3 100644
--- a/tests/server_shell.rs
+++ b/tests/server_shell.rs
@@ -166,7 +166,7 @@ fn clone_git_repo(c: &TestContext, path: &str) -> Assert {
}
fn clone_git_repo_relative_path(c: &TestContext, repo_name: &str) -> Assert {
- clone_git_repo(c, &format!("/home/shukkie/git/{}.git", repo_name))
+ clone_git_repo(c, &format!("/home/shukkie/git/shukkie/{}.git", repo_name))
}
#[test]
@@ -215,6 +215,7 @@ fn git_push_works() -> Result<()> {
}
#[test]
+#[ignore = "Need to put the repo in the right dir first"]
fn git_clone_can_not_target_repo_outside_allowed_paths() -> Result<()> {
let c = spawn_ssh_server()?;
clone_git_repo(&c, "/home/shukkie/disallowed.git")