]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: unit tests - Fix home directory setting
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 19 Jan 2023 21:38:00 +0000 (23:38 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 20 Nov 2023 12:20:55 +0000 (14:20 +0200)
The directory ended with /username/username twice. This didn't seem to
matter though.

src/lib-storage/test-mail-storage-common.c

index 55d8544dcaa8cab54d2136ba108c49a1cd0cdef5..3ca687a306198079b9b29b17921737134759d5dd 100644 (file)
@@ -76,7 +76,7 @@ void test_mail_storage_init_user(struct test_mail_storage_ctx *ctx,
                "namespace=inbox",
                "namespace/inbox/prefix=",
                "namespace/inbox/inbox=yes",
-               t_strdup_printf("home=%s/%s", home, username),
+               t_strdup_printf("home=%s", home),
        };
 
        if (unlink_directory(home, UNLINK_DIRECTORY_FLAG_RMDIR, &error) < 0)