Record STQ-01 Store layout evidence
This commit is contained in:
@@ -106,7 +106,7 @@ inputs and outputs is absent from the ZIP.
|
||||
|
||||
| ID | Test | R1 | R2 | R3 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| STQ-01 | New users receive independent stores and standard folders | | | |
|
||||
| STQ-01 | New users receive independent stores and standard folders | [PASS](test-evidence/0.7-r1.md#stq-01) | | |
|
||||
| STQ-02 | Local message survives Queue-to-Store delivery byte-for-byte | | | |
|
||||
| STQ-03 | Queue free-space calculation is correct on 32/64-bit and reserves space | | | |
|
||||
| STQ-04 | Full-disk and unreadable-spool failures defer safely without mail loss | | | |
|
||||
|
||||
@@ -1362,3 +1362,50 @@ Runtime configuration: the installed Gentoo live package and existing
|
||||
disposable Bongo configuration were used. The timezone cache was atomically
|
||||
replaced; service, mail, Queue, account, task, credential, rule, and
|
||||
certificate state were not modified.
|
||||
|
||||
## STQ-01
|
||||
|
||||
Result: **PASS**
|
||||
|
||||
Commit `6d1f657b` centralised the new-account collection layout and added
|
||||
stable Sent, Trash, and Junk collections. Drafts, Archive, Sent, Trash, and
|
||||
Junk carry their corresponding IMAP SPECIAL-USE roles. Store creation now
|
||||
checks every collection insertion instead of silently accepting a partial
|
||||
account layout. The new `store-initial-layout` test verifies unique paths and
|
||||
GUIDs, parent-before-child ordering, all mail roles, the personal calendar,
|
||||
and the personal and collected address books. The complete rebuilt suite
|
||||
passed 84 of 84 tests in 10.68 seconds.
|
||||
|
||||
After installing the Gentoo live package and restarting the already-running
|
||||
test service, the repeatable live check created fresh users `stq01c` and
|
||||
`stq01d`. Each account received INBOX, Drafts, Archive, Sent, Trash, and Junk,
|
||||
plus its own calendar and address-book collections. Their Store databases
|
||||
were separate 131072-byte files with mode and ownership `0600 bongo:bongo`;
|
||||
their distinct inode numbers were 863845572 and 863845713.
|
||||
|
||||
An authenticated STARTTLS IMAP session against the real port 143 listener
|
||||
then requested `LIST "" "*" RETURN (SPECIAL-USE)`. It returned the expected
|
||||
roles from the live Store:
|
||||
|
||||
```text
|
||||
* LIST () "/" "INBOX"
|
||||
* LIST (\Archive) "/" "archives"
|
||||
* LIST (\Drafts) "/" "drafts"
|
||||
* LIST (\Junk) "/" "junk"
|
||||
* LIST (\Sent) "/" "sent"
|
||||
* LIST (\Trash) "/" "trash"
|
||||
```
|
||||
|
||||
```sh
|
||||
BONGO_ALLOW_LIVE_USER_TEST=1 \
|
||||
BONGO_TEST_PASSWORD='<disposable-password>' \
|
||||
BONGO_TEST_USERS='stq01c stq01d' \
|
||||
BONGO_TEST_LAYOUT_USERS='stq01c stq01d' \
|
||||
./contrib/testing/store-user-layout-check.sh
|
||||
```
|
||||
|
||||
Runtime configuration: the installed Gentoo package and disposable local
|
||||
Bongo configuration were used. Clearly named test accounts and their empty
|
||||
standard collections were intentionally retained for later Store, Queue,
|
||||
quota, and protocol rows. No external mail was sent. The service remained
|
||||
active/running as manager PID 1182382 with systemd result `success`.
|
||||
|
||||
Reference in New Issue
Block a user