diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2026-10-04 19:38:53 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2026-10-04 20:53:05 +0200 |
| commit | 3cf3a1d78106aa44d694f4203905681492da9913 (patch) | |
| tree | 4b1792a55442a178980785cc7a0a7c9b7e6d3817 /tests/run-tests.sh | |
| parent | 32317bcba1c1bbaae069bef76e7f3e4380b185fa (diff) | |
| download | hermes-3cf3a1d78106aa44d694f4203905681492da9913.tar.gz hermes-3cf3a1d78106aa44d694f4203905681492da9913.tar.bz2 hermes-3cf3a1d78106aa44d694f4203905681492da9913.tar.xz | |
git: move hephaistos to new machine
Diffstat (limited to 'tests/run-tests.sh')
| -rwxr-xr-x | tests/run-tests.sh | 23 |
1 files changed, 3 insertions, 20 deletions
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 @@ -75,22 +74,6 @@ 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)" for BRIDGE in $BRIDGES |
