summaryrefslogtreecommitdiff
path: root/tests/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-tests.sh')
-rwxr-xr-xtests/run-tests.sh23
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