gitpages

A collection of scripts to securely webhost and publish git repositories.
git clone https://scm.kuandu.systems/git-raw/gitpages.git
Log | Files | Refs | README | LICENSE

commit 187ec7dfabfb53066af349e294ec7195b4223d4d
parent a36b9f310eedaaa7df712b80a656db553005f330
Author: Fred Großkopf <fred@kuandu.systems>
Date:   Thu, 17 Sep 2026 23:58:25 +0200

Adds test-all.sh helper

Diffstat:
Atest-all.sh | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/test-all.sh b/test-all.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +set -u + +failed=0 + +for test in ./test-gitpages-*.sh; do + printf '\n========================================\n' + printf 'Running %s\n' "$test" + printf '========================================\n' + + if "$test"; then + printf 'PASS: %s\n' "$test" + else + printf 'FAIL: %s\n' "$test" + failed=1 + fi +done + +if [ "$failed" -eq 0 ]; then + printf '\nALL TESTS PASSED\n' + exit 0 +else + printf '\nSOME TESTS FAILED\n' + exit 1 +fi