1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-12 17:07:23 +01: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

@@ -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]"