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:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-11-28 01:44:58 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-11-28 01:44:58 +0000
commitf053827e0a157f348d9cf834f026a8de322abfe2 (patch)
tree4dcde0f1e92dfe26fde131ef0f3f35e677e56b5b /grasp-audit/src/specs/grasp01/git_clone.rs
parent0c1d60a2ad69e79e83d36ed8a001743fde3d6666 (diff)
grasp-audit run all tests in audit 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: