]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-master: test-master-service-settings - Fix earlier tests
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 10 Apr 2025 12:48:50 +0000 (15:48 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Mon, 12 May 2025 15:51:47 +0000 (15:51 +0000)
src/lib-master/test-master-service-settings.c

index 87a259fd8861f83d51e97886bfdc3ed427e20aa8..7ebb356a652705e05d924d3296c8ae1e034593fe 100644 (file)
@@ -40,16 +40,16 @@ static const struct {
 
        /* cache path count is truncated */
        { DATA("DOVECOT-CONFIG\t1.0\n"
-              NUM64("\x04") // full size
+              NUM64("\x03") // full size
               "\x00\x00\x00"), // cache path count
-         "Full size mismatch" },
+         "Area too small when reading uint of 'config paths count'" },
 
        /* event filter count is truncated */
        { DATA("DOVECOT-CONFIG\t1.0\n"
-              NUM64("\x08") // full size
+              NUM64("\x07") // full size
               NUM32("\x00") // cache path count
               "\x00\x00\x00"), // event filter count
-         "Full size mismatch" },
+         "Area too small when reading uint of 'filters count'" },
 
        /* event filter strings are truncated */
        { DATA("DOVECOT-CONFIG\t1.0\n"