From 53a296f8b629e002b13f328c74ff905963f75dc4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 6 Mar 2024 14:36:38 +0100 Subject: tests/*/t: Replace filetype=sh with filetype=bash. --- tests/rename-exists-local/t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rename-exists-local/t') diff --git a/tests/rename-exists-local/t b/tests/rename-exists-local/t index 190f49a..33c7da7 100644 --- a/tests/rename-exists-local/t +++ b/tests/rename-exists-local/t @@ -10,4 +10,4 @@ doveadm -u "remote" mailbox delete "t\\o" ! interimap --rename "root.from" "t.o" || error grep -Fx 'local: ERROR: Mailbox t.o exists. Run `interimap --target=local --delete t.o` to delete.' <"$STDERR" || error -# vim: set filetype=sh : +# vim: set filetype=bash : -- cgit v1.2.3 From 66aeda7f653cfb72731fe7ff2925d7291158500f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 25 Apr 2025 17:59:57 +0200 Subject: Port tests and documentation to Dovecot 2.4. See https://doc.dovecot.org/main/installation/upgrade/2.3-to-2.4.html . --- tests/rename-exists-local/t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/rename-exists-local/t') diff --git a/tests/rename-exists-local/t b/tests/rename-exists-local/t index 33c7da7..907b14a 100644 --- a/tests/rename-exists-local/t +++ b/tests/rename-exists-local/t @@ -1,11 +1,11 @@ -doveadm -u "local" mailbox create "root.from" "root.from.child" "t.o" -doveadm -u "remote" mailbox create "root\\from" "root\\from\\child" +doveadm -u "local" mailbox create --no-userdb-lookup "root.from" "root.from.child" "t.o" +doveadm -u "remote" mailbox create --no-userdb-lookup "root\\from" "root\\from\\child" interimap_init check_mailbox_list # delete a mailbox on the remote server, then try to use it as target for --rename -doveadm -u "remote" mailbox delete "t\\o" +doveadm -u "remote" mailbox delete --no-userdb-lookup "t\\o" ! interimap --rename "root.from" "t.o" || error grep -Fx 'local: ERROR: Mailbox t.o exists. Run `interimap --target=local --delete t.o` to delete.' <"$STDERR" || error -- cgit v1.2.3