From 3cf3a1d78106aa44d694f4203905681492da9913 Mon Sep 17 00:00:00 2001 From: "quentin@aristote.fr" Date: Sun, 4 Oct 2026 19:38:53 +0200 Subject: git: move hephaistos to new machine --- tests/run-tests.sh | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to 'tests/run-tests.sh') diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 36ce4f7..e69fa8f 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -26,8 +26,7 @@ echo Checking that all the services are running : declare -A PORTS PORTS[quentin]=8080 PORTS[searx]=8081 -PORTS[rss]=8083 -PORTS[git]=8086 +PORTS[rss]=8082 for SERVICE in "${!PORTS[@]}" do URL="http://$IP:${PORTS[$SERVICE]}/" @@ -41,7 +40,7 @@ do fi done echo Checking connection to container version of mesh.aristote.fr ... -URL="http://$IP:8085/health" +URL="http://$IP:8084/health" RESULT=$(curl "$URL" $CURL_FLAGS) if [[ "$RESULT" != '{"status":"pass"}' ]] then @@ -54,7 +53,7 @@ echo Done. echo echo Checking web keys directory : -URL_PREFIX="http://$IP:8084/.well-known/openpgpkey/aristote.vm" +URL_PREFIX="http://$IP:8083/.well-known/openpgpkey/aristote.vm" KEYS="$(ls ../config/services/web/webkeydirectory/hu)" for KEY in $KEYS do @@ -74,22 +73,6 @@ fi echo Done. -echo -echo Checking cgit instance: -RESULT=$(curl "http://$IP:${PORTS[git]}/" $CURL_FLAGS) -echo "Checking that internal hyperlinks don't start with 'git' ..." -if $(echo "$RESULT" | grep --silent "=\'/git/") -then - echo "Broken hyperlinks detected." -fi -echo Checking that the default view of repositories is their tree ... -if $(echo "$RESULT" | grep --silent "href='/[^/]*/[^/]*/'") -then - echo "Broken hyperlinks detected." -fi -echo Done. - - echo echo Checking custom RSS bridges : BRIDGES="$(ls ../config/services/web/rss/*Bridge.php | xargs basename -s Bridge.php)" -- cgit v1.3.1