From f053827e0a157f348d9cf834f026a8de322abfe2 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 28 Nov 2025 01:44:58 +0000 Subject: grasp-audit run all tests in audit mode --- grasp-audit/src/specs/grasp01/git_clone.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'grasp-audit/src/specs/grasp01/git_clone.rs') 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; pub struct GitCloneTests; impl GitCloneTests { + /// Run all Git clone tests + pub async fn run_all( + client: &AuditClient, + git_data_dir: &Path, + relay_domain: &str, + ) -> crate::AuditResult { + let mut results = crate::AuditResult::new("GRASP-01 Git Clone Tests"); + + results.add(Self::test_basic_git_clone(client, git_data_dir, relay_domain).await); + results.add(Self::test_clone_url_format(client, git_data_dir, relay_domain).await); + + results + } + /// Test that a repository can be cloned via Git HTTP backend /// /// This test: -- cgit v1.2.3