upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/specs/grasp01/git_clone.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grasp-audit/src/specs/grasp01/git_clone.rs')
-rw-r--r--grasp-audit/src/specs/grasp01/git_clone.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/grasp-audit/src/specs/grasp01/git_clone.rs b/grasp-audit/src/specs/grasp01/git_clone.rs
index da60f26..8c91c04 100644
--- a/grasp-audit/src/specs/grasp01/git_clone.rs
+++ b/grasp-audit/src/specs/grasp01/git_clone.rs
@@ -24,6 +24,20 @@ use std::process::Command;
24pub struct GitCloneTests; 24pub struct GitCloneTests;
25 25
26impl GitCloneTests { 26impl GitCloneTests {
27 /// Run all Git clone tests
28 pub async fn run_all(
29 client: &AuditClient,
30 git_data_dir: &Path,
31 relay_domain: &str,
32 ) -> crate::AuditResult {
33 let mut results = crate::AuditResult::new("GRASP-01 Git Clone Tests");
34
35 results.add(Self::test_basic_git_clone(client, git_data_dir, relay_domain).await);
36 results.add(Self::test_clone_url_format(client, git_data_dir, relay_domain).await);
37
38 results
39 }
40
27 /// Test that a repository can be cloned via Git HTTP backend 41 /// Test that a repository can be cloned via Git HTTP backend
28 /// 42 ///
29 /// This test: 43 /// This test: