From: Timo Sirainen Date: Thu, 1 Mar 2018 18:12:35 +0000 (+0200) Subject: lib-storage: test-mail-storage - add check for mailbox_create() return value X-Git-Tag: 2.3.9~2193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c415d35f8f49a7a34ac42d9ebe4616f857459d65;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: test-mail-storage - add check for mailbox_create() return value --- diff --git a/src/lib-storage/test-mail-storage.c b/src/lib-storage/test-mail-storage.c index a858486aeb..e088484137 100644 --- a/src/lib-storage/test-mail-storage.c +++ b/src/lib-storage/test-mail-storage.c @@ -385,6 +385,7 @@ test_mailbox_verify_name_one(struct mailbox_verify_test_cases *test_case, /* Cannot rename to INBOX */ if (strcmp(test_case->box, "INBOX") == 0) { ret = mailbox_create(box, NULL, FALSE); + test_assert_idx(ret == 0, i); mailbox_delete(box); mailbox_free(&box); return;