1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

update test to get syslog output

This commit is contained in:
downtownallday 2022-09-21 16:46:38 -04:00
parent a95bfd3e6b
commit 188eb9bee1
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ jobs:
- name: setup
run: sudo -E tests/system-setup/remote-nextcloud-docker.sh
- name: test-runner
run: sudo -E tests/runner.sh -dumpoutput -no-smtp-remote ehdd default remote-nextcloud
run: sudo -E tests/runner.sh -dumpoutput -no-smtp-remote remote-nextcloud ehdd default remote-nextcloud
# install upstream miab, then migrate to miabldap
upgrade-from-upstream:
runs-on: ubuntu-22.04

View File

@ -154,6 +154,8 @@ test_web_config() {
# .well-known/carddav to the remote nextcloud
if grep '\.well-known/carddav[\t ]*/cloud/' /etc/nginx/conf.d/local.conf >/dev/null; then
test_failure "/.well-known/carddav redirects to the local nextcloud, but should redirect to $NC_HOST:$NC_PORT"
record "[grep for mailinabox in syslog]"
grep mailinabox /var/log/syslog >>$TEST_OF
else
# ensure the url works
record "[test /.well-known/carddav url]"