summaryrefslogtreecommitdiff
path: root/tests/run-tests.sh
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2026-01-24 23:07:42 +0100
committerquentin@aristote.fr <quentin@aristote.fr>2026-01-24 23:07:42 +0100
commitd1377cd43755d5fd8f9e51fb13e306e0559e38a6 (patch)
treecfda1f09e66a510d67f4a6e04a825d960cc88916 /tests/run-tests.sh
parent2ad85ea8b893c903adc344b7a800aa9be58de348 (diff)
add reverse proxy to cgit
Diffstat (limited to 'tests/run-tests.sh')
-rwxr-xr-xtests/run-tests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-tests.sh b/tests/run-tests.sh
index 6b9a84a..6c64707 100755
--- a/tests/run-tests.sh
+++ b/tests/run-tests.sh
@@ -28,6 +28,7 @@ PORTS[quentin]=8080
PORTS[searx]=8081
PORTS[rss]=8083
PORTS[openpgpkey]=8084
+PORTS[git]=8086
for SERVICE in "${!PORTS[@]}"
do
URL="http://$IP:${PORTS[$SERVICE]}/"
@@ -101,4 +102,9 @@ fi
echo Done.
echo
+echo Checking cgit internal hyperlinks :
+RESULT=$(curl "http://$IP:${PORTS[git]}/" $CURL_FLAGS)
+echo $RESULT | grep "=\'/git/" > /dev/null && echo "Broken hyperlinks detected."
+
+echo
read -n1 -srp "Press any key to stop the server."