From b66d3f74bd192c8985e1e89b186b05149c1559b1 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 28 Aug 2022 11:39:47 +0200 Subject: tests: rss: automatically get list of custom rss bridges --- tests/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 300056e..60f74c6 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -64,8 +64,8 @@ echo Done. echo echo Checking custom RSS bridges : -BRIDGES=ParisJazzClub -for BRIDGE in "$BRIDGES" +BRIDGES="$(ls ../config/services/web/rss/*Bridge.php | xargs basename -s Bridge.php)" +for BRIDGE in $BRIDGES do echo Checking bridge $BRIDGE ... RESULT=$(curl "http://$IP:${PORTS[rss]}/?action=display&bridge=$BRIDGE&format=Plaintext" $CURL_FLAGS --output /dev/null --write-out '%{http_code}\n') -- cgit v1.2.3