diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-08-28 11:39:47 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-08-28 11:39:47 +0200 |
| commit | b66d3f74bd192c8985e1e89b186b05149c1559b1 (patch) | |
| tree | 48f055ab89cf8d98d91f168faa4a929ba656d4cb /tests/run-tests.sh | |
| parent | 6c96ba0b76c0dcd61aeecdd8a6ce74ec4d79fc80 (diff) | |
tests: rss: automatically get list of custom rss bridges
Diffstat (limited to 'tests/run-tests.sh')
| -rwxr-xr-x | tests/run-tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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') |
