This commit is contained in:
2026-03-15 05:37:15 +01:00
parent 7ac487f640
commit 59db877c85
17 changed files with 622 additions and 21 deletions

View File

@@ -40,3 +40,15 @@ registry_module_path() {
local module_id="$1"
printf '%s\n' "${REGISTRY_MODULE_PATHS[$module_id]:-}"
}
registry_module_test_path() {
local module_id="$1"
local module_path=""
module_path="${REGISTRY_MODULE_PATHS[$module_id]:-}"
if [[ -z "$module_path" ]]; then
return 1
fi
printf '%s\n' "${module_path%/module.sh}/tests.sh"
}