tests: fix deprecate machine config access
This commit is contained in:
parent
358a44674e
commit
47786932cb
2 changed files with 4 additions and 4 deletions
|
@ -199,8 +199,8 @@ in
|
||||||
|
|
||||||
with subtest("Check dovecot maildir and index locations"):
|
with subtest("Check dovecot maildir and index locations"):
|
||||||
# If these paths change we need a migration
|
# If these paths change we need a migration
|
||||||
machine.succeed("doveadm user -f home user1@example.com | grep ${nodes.machine.config.mailserver.mailDirectory}/example.com/user1")
|
machine.succeed("doveadm user -f home user1@example.com | grep ${nodes.machine.mailserver.mailDirectory}/example.com/user1")
|
||||||
machine.succeed("doveadm user -f mail user1@example.com | grep 'maildir:~/mail:INDEX=${nodes.machine.config.mailserver.indexDir}/example.com/user1'")
|
machine.succeed("doveadm user -f mail user1@example.com | grep 'maildir:~/mail:INDEX=${nodes.machine.mailserver.indexDir}/example.com/user1'")
|
||||||
|
|
||||||
with subtest("mail to send only accounts is rejected"):
|
with subtest("mail to send only accounts is rejected"):
|
||||||
machine.wait_for_open_port(25)
|
machine.wait_for_open_port(25)
|
||||||
|
|
|
@ -225,7 +225,7 @@ in
|
||||||
|
|
||||||
with subtest("Check dovecot mail and index locations"):
|
with subtest("Check dovecot mail and index locations"):
|
||||||
# If these paths change we need a migration
|
# If these paths change we need a migration
|
||||||
machine.succeed("doveadm user -f home bob@example.com | grep ${nodes.machine.config.mailserver.mailDirectory}/ldap/bob@example.com")
|
machine.succeed("doveadm user -f home bob@example.com | grep ${nodes.machine.mailserver.mailDirectory}/ldap/bob@example.com")
|
||||||
machine.succeed("doveadm user -f mail bob@example.com | grep 'maildir:~/mail:INDEX=${nodes.machine.config.mailserver.indexDir}/ldap/bob@example.com'")
|
machine.succeed("doveadm user -f mail bob@example.com | grep 'maildir:~/mail:INDEX=${nodes.machine.mailserver.indexDir}/ldap/bob@example.com'")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue