aboutsummaryrefslogtreecommitdiffstats
path: root/tests/list
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-11-09 03:13:45 +0100
committerGuilhem Moulin <guilhem@fripost.org>2019-11-13 06:23:56 +0100
commit67440844c422ee30b31df9a46a7f99ac0e833add (patch)
tree989381e5b94d5939dafdd1e99c7db2ada95355ec /tests/list
parentb9da6cc7ecf71026d1023dc3354b820c7518426e (diff)
Refactor and improve test suite.
Diffstat (limited to 'tests/list')
-rw-r--r--tests/list37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/list b/tests/list
new file mode 100644
index 0000000..21aa3f4
--- /dev/null
+++ b/tests/list
@@ -0,0 +1,37 @@
+db-no-create--watch `interimap --watch` refuses to create the database
+db-exclusive-lock mutually exclusive DB access
+
+. DB schema upgrade (v0 -> v1)
+ db-upgrade-0-1 migrate
+ # may happen if the server(s) software or its configuration changed
+ db-upgrade-0-1-delim-mismatch abort on hierarchy delimiter mismatch
+ # foreign key checking was broken until v0.5
+ db-migration-0-1-foreign-key-violation abort on foreign key contraint violation
+
+. Mailbox deletion
+ ... delete
+
+. Mailbox renaming
+ rename-exists-db abort if target exists in the DB
+ rename-exists-local abort if target exists locally
+ rename-exists-remote abort if target exists remotely
+ ... rename-simple
+ ... rename-inferiors
+
+# try values beyond the signed integer limit
+largeint Large UIDVALIDITY/UIDNEXT/HIGHESTMODSEQ values
+
+. Mailbox synchronization
+ ... sync-mailbox-list
+ list-reference list-reference
+ list-mailbox list-mailbox = foo "foo bar" "f\\\"o\x21o.*" "f\0o\0o"
+ list-select-opts list-select-opts = SUBSCRIBED
+ ignore-mailbox ignore-mailbox = ^virtual(?:\x00|$)
+
+resume Resume when aborted
+repair --repair
+
+. Live synchronization (60s)
+ sync-live local/remote simulation
+ sync-live-crippled local/remote simulation (crippled remote)
+ sync-live-multi local/remote1+remote2+remote3 simulation (3 local namespaces)